neuron_morphology.snap_polygons.postgres_source module¶
-
class
neuron_morphology.snap_polygons.postgres_source.PostgresInputConfigSchema(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]¶ Bases:
marshmallow.schema.SchemaAttributes: - dict_class
- set_class
Methods
MetaOptions object for a Schema. OPTIONS_CLASSalias of marshmallow.schema.SchemaOptsdump(self, obj[, many])Serialize an object to native Python data types according to this Schema’s fields. dumps(self, obj[, many])Same as dump(), except return a JSON-encoded string.get_attribute(self, obj, attr, default)Defines how to pull values from an object to serialize. handle_error(self, error, data)Custom error handler function for the schema. load(self, data[, many, partial, unknown])Deserialize a data structure to an object defined by this Schema’s fields. loads(self, json_data[, many, partial, unknown])Same as load(), except it takes a JSON string as input.on_bind_field(self, field_name, field_obj)Hook to modify a field when it is bound to the Schema. validate(self, data[, many, partial])Validate data against the schema, returning a dictionary of validation errors. -
opts= <marshmallow.schema.SchemaOpts object>¶