Module Expr Str ImportFrom alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad FunctionDef arguments args defaults body For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn Str AttributeLoad NameLoad attr body Continue Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body If UnaryOpNot CompareIn SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call Lambda arguments args NameParam NameParam defaults Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad Call NameLoad NameLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call Lambda arguments args NameParam NameParam defaults Call NameLoad Lambda arguments args NameParam defaults IfExp CompareEq AttributeLoad Call NameLoad NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Slice ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If BoolOpAnd CompareIn Str NameLoad CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad FunctionDef arguments args NameParam defaults body If NameLoad body If NameLoad body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If NameLoad body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad Call AttributeLoad Str attr NameLoad keyword Str Assign NameStore BoolOpOr NameLoad IfExp NameLoad NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore IfExp NameLoad Call NameLoad keyword NameLoad Call NameLoad keyword Str Assign SubscriptStore NameLoad Index Str Str Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad keyword Call AttributeLoad Str attr NameLoad NameLoad NameLoad keyword Call NameLoad NameLoad NameLoad keyword Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad Call AttributeLoad Str attr NameLoad FunctionDef arguments args NameParam defaults body If NameLoad body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad Call AttributeLoad Str attr NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad Call NameLoad Call AttributeLoad Str attr NameLoad keyword Str keyword NameLoad Call NameLoad NameLoad NameLoad Call NameLoad Call AttributeLoad Str attr NameLoad keyword Str keyword NameLoad Assign NameStore BoolOpOr NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Str keyword Call NameLoad NameLoad keyword Str If CompareEq NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore NameLoad BoolOpAnd UnaryOpNot CompareIn NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str BinOpAdd SubscriptLoad NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptStore NameLoad Index Str ListLoad If UnaryOpNot CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Dict For NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIn NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad Str Call NameLoad Num keyword NameLoad keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg body Expr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore NameLoad BoolOpAnd UnaryOpNot CompareIn NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list Return NameLoad decorator_list NameLoad decorator_list AttributeLoad NameLoad attr
N/A N/A 
    quick_orm.core
    ~~~~~~~~~~~~~~
    Core of quick_orm
 toolkit_library.string_util StringUtil sqlalchemy create_engine Column Integer ForeignKey String DateTime event sqlalchemy.orm scoped_session sessionmaker relationship backref sqlalchemy.schema Table sqlalchemy.ext.declarative declarative_base DeclarativeMeta _as_declarative extensions DatabaseExtension SessionExtension ModelExtension N/A models N/A list MyDeclarativeMeta N/A DeclarativeMeta N/A __init__ N/A N/A cls classname bases attrs N/A N/A N/A N/A N/A models append cls N/A N/A N/A type __init__ cls classname bases attrs N/A N/A Database N/A object N/A N/A Base N/A declarative_base register N/A N/A N/A N/A N/A i N/A range N/A len models N/A N/A model N/A models N/A i N/A N/A _decl_class_registry N/A model __dict__ N/A N/A N/A N/A _as_declarative model N/A model __name__ N/A model __dict__ N/A N/A N/A event listen model before_insert N/A ModelExtension before_insert_listener N/A N/A N/A event listen model before_update N/A ModelExtension before_update_listener N/A j N/A range i N/A N/A N/A N/A N/A models N/A j N/A model __bases__ N/A N/A N/A parent N/A models N/A j N/A grandparent N/A parent _many_to_models N/A N/A N/A setattr grandparent N/A model _readable_names N/A N/A N/A N/A parent model N/A N/A property N/A N/A N/A self N/A N/A N/A N/A getattr self N/A parent _readable_names filter_by real_type N/A model _readable_name parent model N/A grandparent N/A parent _one_to_models N/A N/A N/A setattr grandparent N/A model _readable_name N/A N/A N/A N/A parent model N/A N/A property N/A N/A N/A self N/A N/A N/A N/A N/A getattr self N/A parent _readable_name real_type N/A model _readable_name N/A getattr self N/A parent _readable_name None parent model N/A N/A models N/A N/A N/A staticmethod __init__ N/A N/A self connection_string N/A kwargs N/A N/A Initiate a database engine which is very low level, and a database session which deals with orm. N/A N/A N/A mysql: connection_string N/A charset= connection_string N/A N/A N/A ValueError No charset was specified for a mysql connection string.
Please specify something like '?charset=utf8' explicitly. N/A N/A self engine N/A create_engine connection_string convert_unicode True encoding utf-8 kwargs N/A N/A self session N/A N/A SessionExtension extend N/A scoped_session N/A sessionmaker autocommit False autoflush False bind N/A self engine N/A foreign_key N/A N/A ref_model ref_name backref_name one_to_one N/A None None False N/A N/A "Class decorator, add a foreign key to a SQLAlchemy model.
        Parameters:
            ref_model is the destination model, in a one-to-many relationship, it is the "one" side.
            ref_name is the user-friendly name of destination model(if omitted, destintion table name will be used instead).
            backref_name is the name used to back ref the "many" side.
            one_to_one is this foreign_key for a one-to-one relationship?
         N/A N/A isinstance ref_model str N/A N/A ref_model_name ref_model N/A N/A ref_model_name N/A ref_model __name__ N/A ref_table_name N/A N/A StringUtil camelcase_to_underscore ref_model_name N/A ref_name N/A ref_name ref_table_name N/A foreign_key N/A N/A {0}_id format ref_name ref_table N/A N/A cls N/A N/A N/A one_to_one N/A N/A backref_name N/A N/A N/A cls _readable_name backref_name N/A N/A N/A isinstance ref_model str N/A N/A ref_name N/A N/A N/A ref_model _readable_name ref_name N/A N/A N/A N/A cls _one_to_models append ref_model N/A N/A N/A N/A ref_model _one_to_models append cls N/A N/A backref_name N/A N/A N/A cls _readable_names backref_name N/A N/A N/A isinstance ref_model str N/A N/A ref_name N/A N/A N/A ref_model _readable_name ref_name N/A N/A N/A N/A cls _many_to_models append ref_model N/A N/A N/A N/A ref_model _one_to_models append cls N/A model_name N/A cls __name__ N/A table_name N/A cls _readable_name N/A N/A setattr cls foreign_key N/A Column Integer N/A ForeignKey N/A N/A {0}.id format ref_table_name ondelete CASCADE N/A my_backref_name N/A backref_name N/A one_to_one table_name N/A N/A {0}s format table_name N/A backref_options N/A one_to_one N/A dict uselist False N/A dict lazy dynamic N/A N/A backref_options N/A cascade all N/A N/A setattr cls ref_name N/A relationship ref_model_name primaryjoin N/A N/A {0}.{1} == {2}.id format model_name foreign_key ref_model_name backref N/A backref my_backref_name backref_options remote_side N/A N/A {0}.id format ref_model_name N/A cls N/A N/A ref_table N/A staticmethod many_to_one N/A N/A ref_model ref_name backref_name N/A None None N/A N/A N/A N/A Database foreign_key ref_model ref_name backref_name False N/A staticmethod one_to_one N/A N/A ref_model ref_name backref_name N/A None None N/A N/A N/A N/A Database foreign_key ref_model ref_name backref_name True N/A staticmethod many_to_many N/A N/A ref_model ref_name backref_name middle_table_name N/A None None None N/A N/A Class Decorator, add a many-to-many relationship between two SQLAlchemy models.
        Parameters:
            ref_table_name is the name of the destination table, it is NOT the one decorated by this method.
            ref_name is how this model reference the destination models.
            backref_name is how the destination model reference this model.
            middle_table_name is the middle table name of this many-to-many relationship.
         N/A N/A isinstance ref_model str N/A N/A ref_model_name ref_model N/A N/A ref_model_name N/A ref_model __name__ N/A ref_table_name N/A N/A StringUtil camelcase_to_underscore ref_model_name N/A ref_name N/A ref_name N/A N/A {0}s format ref_table_name ref_table N/A N/A cls N/A N/A N/A backref_name N/A N/A N/A cls _readable_names backref_name N/A N/A N/A isinstance ref_model str N/A N/A N/A ref_model _readable_names ref_name N/A N/A N/A N/A cls _many_to_models append ref_model N/A N/A N/A N/A ref_model _many_to_models append cls N/A table_name N/A cls _readable_name N/A my_middle_table_name N/A middle_table_name N/A N/A {0}_{1} format table_name ref_table_name N/A N/A table_name ref_table_name N/A N/A left_column_name left_id N/A right_column_name right_id N/A N/A left_column_name N/A N/A {0}_id format table_name N/A right_column_name N/A N/A {0}_id format ref_table_name N/A middle_table N/A Table my_middle_table_name N/A N/A Database Base metadata N/A Column left_column_name Integer N/A ForeignKey N/A N/A {0}.id format table_name ondelete CASCADE primary_key True N/A Column right_column_name Integer N/A ForeignKey N/A N/A {0}.id format ref_table_name ondelete CASCADE primary_key True N/A my_backref_name N/A backref_name N/A N/A {0}s format table_name N/A parameters N/A dict secondary middle_table lazy dynamic backref N/A backref my_backref_name lazy dynamic N/A N/A table_name ref_table_name N/A N/A N/A parameters N/A primaryjoin N/A N/A cls id N/A N/A middle_table c left_id N/A N/A parameters N/A secondaryjoin N/A N/A cls id N/A N/A middle_table c right_id N/A N/A setattr cls ref_name N/A relationship ref_model_name parameters N/A cls N/A N/A ref_table N/A staticmethod DefaultMeta N/A MyDeclarativeMeta N/A N/A metaclass for all model classes, let model class inherit Database.Base and handle table inheritance.
        All other model metaclasses are either directly or indirectly derived from this class.
         __new__ N/A N/A cls name bases attrs N/A N/A N/A bases N/A list bases N/A N/A object bases N/A N/A N/A N/A bases remove object N/A N/A N/A bases append N/A Database Base N/A seen N/A set N/A bases N/A tuple N/A base N/A base bases N/A N/A N/A base seen N/A N/A N/A seen add base N/A N/A attrs N/A __tablename__ N/A N/A StringUtil camelcase_to_underscore name N/A N/A attrs N/A id N/A Column Integer primary_key True N/A N/A attrs N/A created_at N/A Column DateTime N/A N/A attrs N/A updated_at N/A Column DateTime N/A N/A attrs N/A _readable_name N/A attrs N/A __tablename__ N/A N/A attrs N/A _readable_names N/A N/A attrs N/A _readable_name s N/A N/A attrs N/A _one_to_models N/A attrs N/A _many_to_models N/A N/A N/A N/A __mapper_args__ attrs N/A N/A N/A attrs N/A __mapper_args__ N/A N/A base N/A base N/A base bases N/A base models N/A N/A N/A N/A hasattr base real_type N/A N/A N/A base real_type N/A Column real_type N/A String 24 nullable False index True N/A N/A N/A base __mapper_args__ N/A polymorphic_on N/A base real_type N/A N/A N/A base __mapper_args__ N/A polymorphic_identity N/A base _readable_name N/A N/A attrs N/A id N/A Column Integer N/A ForeignKey N/A N/A {0}.id format N/A base _readable_name ondelete CASCADE primary_key True N/A N/A N/A attrs N/A __mapper_args__ N/A polymorphic_identity N/A attrs N/A _readable_name N/A N/A N/A attrs N/A __mapper_args__ N/A inherit_condition N/A N/A attrs N/A id N/A base id N/A N/A N/A MyDeclarativeMeta __new__ cls name bases attrs N/A N/A MetaBuilder N/A N/A N/A models N/A N/A Build a new model metaclass. The new metaclass is derived from Database.DefaultMeta,
        and it will add *models as base classes to a model class.
         InnerMeta N/A N/A Database DefaultMeta N/A N/A metaclass for model class, it will add *models as bases of the model class. __new__ N/A N/A cls name bases attrs N/A N/A N/A bases N/A list bases N/A N/A N/A bases extend models N/A seen N/A set N/A bases N/A tuple N/A base N/A base bases N/A N/A N/A base seen N/A N/A N/A seen add base N/A N/A N/A N/A Database DefaultMeta __new__ cls name bases attrs N/A N/A N/A InnerMeta N/A staticmethod N/A N/A DatabaseExtension extend