sqlalchemyseed.util =================== .. py:module:: sqlalchemyseed.util .. autoapi-nested-parse:: Utility functions Module Contents --------------- .. py:function:: find_item(json: Iterable, keys: list) Finds item of json from keys .. py:function:: generate_repr(instance: object) -> str Generate repr of object instance .. py:function:: get_model_class(path: str) Get sqlalchemy model class from path .. py:function:: is_model(class_) Check if class is a sqlalchemy model .. py:function:: is_supported_class(class_) Check if it is a class and supports sqlalchemy .. py:function:: iter_kwargs_with_prefix(kwargs: dict, prefix: str) Iterate kwargs(dict) that has the specified prefix. .. py:function:: iter_non_ref_kwargs(kwargs: dict, ref_prefix: str) Iterate kwargs, skipping item with name prefix or references .. py:function:: iter_ref_kwargs(kwargs: dict, ref_prefix: str) Iterate kwargs with name prefix or references .. py:function:: iterate_json(json: dict, key_prefix: str) Iterate through json that has matching key prefix .. py:function:: iterate_json_no_prefix(json: dict, key_prefix: str) Iterate through json that has no matching key prefix