nautilus.api.util package¶
Submodules¶
nautilus.api.util.create_model_schema module¶
nautilus.api.util.fields_for_model module¶
-
nautilus.api.util.fields_for_model.fields_for_model(model)[source]¶ This function returns the fields for a schema that matches the provided nautilus model.
Parameters: model (nautilus.model.BaseModel) – The model to base the field list on Returns: str, graphqlType>): A mapping of field names to graphql types Return type: (dict<field_name