Module loglan_db.model_db.base_type

This module contains a basic Type Model

Classes

class BaseType (**kwargs)

BaseType model

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships.

Ancestors

  • sqlalchemy.orm.decl_api.Model
  • flask_sqlalchemy.model.Model
  • InitBase
  • DBBase

Subclasses

Static methods

def by(type_filter: Union[str, List[str]]) ‑> flask_sqlalchemy.BaseQuery

Args

type_filter
Union[str, List[str]]:

Returns:

Instance variables

var description
var group
var id

Type's internal ID number: Integer - E.g. 4, 8

var parentable
var type
var type_x
var words

words

Inherited members