MCPcopy Create free account

hub / github.com/schematics/schematics / types & classes

Types & classes245 in github.com/schematics/schematics

↓ 233 callersClassStringType
A Unicode string field.
schematics/types/base.py:384
↓ 99 callersClassIntType
A field that validates input as an Integer
schematics/types/base.py:502
↓ 77 callersClassModelType
A field that can hold an instance of the specified model.
schematics/types/compound.py:88
↓ 67 callersClassValidationError
Exception raised when invalid data is encountered.
schematics/exceptions.py:205
↓ 55 callersClassListType
A field for storing a list of items, all of which must conform to the type specified by the ``field`` parameter. Use it like this::
schematics/types/compound.py:172
↓ 40 callersClassDateTimeType
A field that holds a combined date and time value. The built-in parser accepts input values conforming to the ISO 8601 format ``<YYYY>-<MM>-<
schematics/types/base.py:690
↓ 39 callersClassConversionError
Exception raised when data cannot be converted to the correct python type
schematics/exceptions.py:200
↓ 25 callersClassUser
tests/test_models.py:131
↓ 24 callersClassErrorMessage
schematics/exceptions.py:102
↓ 20 callersClassDictType
A field for storing a mapping of items, the values of which must conform to the type specified by the ``field`` parameter. Use it like this::
schematics/types/compound.py:272
↓ 18 callersClassMultilingualStringType
A multilanguage string field, stored as a dict with {'locale': 'localized_value'}. Minimum and maximum lengths apply to each of the localize
schematics/types/base.py:1082
↓ 17 callersClassFoo
tests/test_polymodeltype.py:40
↓ 17 callersClassPlayer
tests/test_serialize.py:78
↓ 15 callersClassM
tests/test_models.py:19
↓ 13 callersClassDataObject
An object for holding data as attributes. ``DataObject`` can be instantiated like ``dict``:: >>> d = DataObject({'one': 1, 'two': 2
schematics/datastructures.py:17
↓ 13 callersClassSimpleModel
tests/test_models.py:633
↓ 11 callersClassBooleanType
A boolean field type. In addition to ``True`` and ``False``, coerces these values: + For ``True``: "True", "true", "1" + For ``False``: "
schematics/types/base.py:598
↓ 11 callersClassField
schematics/schema.py:56
↓ 11 callersClassM
tests/test_conversion.py:25
↓ 11 callersClassMainModel
tests/test_recursive_import.py:25
↓ 10 callersClassQuestion
tests/test_serialize.py:211
↓ 10 callersClassUser
tests/test_list_type.py:14
↓ 9 callersClassB
tests/test_misc.py:60
↓ 9 callersClassConstant
schematics/util.py:44
↓ 9 callersClassContext
schematics/datastructures.py:101
↓ 9 callersClassUnionType
schematics/types/union.py:33
↓ 7 callersClassEnumType
A field type allowing to use native enums as values. Restricts values to enum members and (optionally) enum values. `use_values` - if set to T
schematics/contrib/enum_type.py:16
↓ 7 callersClassM
tests/test_import.py:17
↓ 7 callersClassPolyModelType
A field that accepts an instance of any of the specified models.
schematics/types/compound.py:336
↓ 6 callersClassFooContext
tests/test_datastructures.py:94
↓ 6 callersClassIPv4Type
A field that stores a valid IPv4 address.
schematics/types/net.py:71
↓ 6 callersClassLocation
tests/test_serialize.py:13
↓ 6 callersClassMACAddressType
A field that stores a valid MAC address.
schematics/types/net.py:95
↓ 6 callersClassSchool
tests/test_validation.py:277
↓ 6 callersClassSignup
tests/test_validation.py:225
↓ 6 callersClassTimedeltaType
Converts Python Timedelta objects into the corresponding value in seconds.
schematics/types/base.py:980
↓ 5 callersClassCard
tests/test_list_type.py:127
↓ 5 callersClassFoo
tests/test_validation.py:265
↓ 5 callersClassM
tests/test_equality.py:7
↓ 5 callersClassPlayer
tests/test_model_type.py:14
↓ 5 callersClassPlayer
tests/test_models.py:120
↓ 5 callersClassPlayerInfo
tests/test_dict_type.py:12
↓ 5 callersClassTestDoc
tests/test_validation.py:84
↓ 5 callersClassURLType
A field that validates the input as a URL. :param fqdn: if ``True`` the validation function will ensure hostname in URL is a Full
schematics/types/net.py:157
↓ 5 callersClassUTCDateTimeType
A variant of ``DateTimeType`` that normalizes everything to UTC and stores values as naive ``datetime`` instances. By default sets ``tzd='utc'``,
schematics/types/base.py:941
↓ 4 callersClassAaa
tests/test_polymodeltype.py:12
↓ 4 callersClassDocument
tests/test_validation.py:19
↓ 4 callersClassExperienceLevel
tests/test_serialize.py:131
↓ 4 callersClassFloatType
A field that validates input as a Float
schematics/types/base.py:519
↓ 4 callersClassGame
tests/test_serialize.py:218
↓ 4 callersClassIPAddressType
A field that stores a valid IPv4 or IPv6 address.
schematics/types/net.py:53
↓ 4 callersClassLinkReadSerializer
Serializer used during GET and after successful link creation
examples/django/linkify/links/serializers.py:28
↓ 4 callersClassM
tests/test_serialize.py:403
↓ 4 callersClassPerson
tests/test_binding.py:12
↓ 4 callersClassPlayer
tests/test_invariants.py:13
↓ 4 callersClassRole
A ``Role`` object can be used to filter specific fields against a sequence. The ``Role`` contains two things: a set of names and a function.
schematics/role.py:11
↓ 3 callersClassBaseError
schematics/exceptions.py:25
↓ 3 callersClassCompoundError
schematics/exceptions.py:215
↓ 3 callersClassDataError
schematics/exceptions.py:228
↓ 3 callersClassDateType
Defaults to converting to and from ISO8601 date values.
schematics/types/base.py:637
↓ 3 callersClassFancyStringType
tests/test_union_type.py:63
↓ 3 callersClassFoo
tests/test_models.py:346
↓ 3 callersClassFrozenDict
schematics/datastructures.py:285
↓ 3 callersClassGeoPointType
A list storing a latitude and longitude.
schematics/types/base.py:1026
↓ 3 callersClassGoodModel
tests/test_validation.py:206
↓ 3 callersClassIPv6Type
A field that stores a valid IPv6 address.
schematics/types/net.py:81
↓ 3 callersClassM
tests/test_polymodeltype.py:126
↓ 3 callersClassM
tests/test_validation.py:534
↓ 3 callersClassM
tests/test_export_level.py:26
↓ 3 callersClassM
tests/test_types.py:361
↓ 3 callersClassM0
tests/test_models.py:500
↓ 3 callersClassM1
tests/test_models.py:507
↓ 3 callersClassMockCreationError
Exception raised when a mock value cannot be generated.
schematics/exceptions.py:235
↓ 3 callersClassObjectIdType
An field wrapper around MongoDB ObjectIds. It is correct to say they're bson fields, but I am unaware of bson being used outside MongoDB. `a
schematics/contrib/mongo.py:17
↓ 3 callersClassPlayer
tests/test_functional.py:8
↓ 3 callersClassPlayerInfo
tests/test_list_type.py:30
↓ 3 callersClassRoot
tests/test_models.py:47
↓ 3 callersClassSchema
schematics/schema.py:13
↓ 3 callersClassStopValidationError
Exception raised when no more validation need occur.
schematics/exceptions.py:210
↓ 3 callersClassTestModel
tests/test_serialize.py:504
↓ 3 callersClassThing
tests/test_model_type.py:225
↓ 3 callersClassUUIDType
A field that stores a valid UUID value.
schematics/types/base.py:353
↓ 3 callersClassUnknownFieldError
Exception raised when attempting to access a nonexistent field using the subscription syntax.
schematics/exceptions.py:247
↓ 3 callersClassUser
tests/test_serialize.py:623
↓ 2 callersClassBaseType
A base class for Types in a Schematics model. Instances of this class may be added to subclasses of ``Model`` to define a model schema. Valid
schematics/types/base.py:123
↓ 2 callersClassBasicConverter
schematics/transforms.py:349
↓ 2 callersClassCard
tests/test_model_type.py:87
↓ 2 callersClassCard
tests/test_models.py:475
↓ 2 callersClassCategoryStats
tests/test_dict_type.py:32
↓ 2 callersClassCategoryStatsInfo
tests/test_list_type.py:27
↓ 2 callersClassChild
tests/test_models.py:200
↓ 2 callersClassCustomType
tests/test_model_type.py:215
↓ 2 callersClassEmailType
A field that validates input as an E-Mail-Address.
schematics/types/net.py:259
↓ 2 callersClassFieldDescriptor
``FieldDescriptor`` instances serve as field accessors on models.
schematics/models.py:29
↓ 2 callersClassFoo
tests/test_export.py:75
↓ 2 callersClassFooModel
tests/test_models.py:740
↓ 2 callersClassFooType
tests/test_export.py:82
↓ 2 callersClassFrozenList
schematics/datastructures.py:315
↓ 2 callersClassGrandParent
tests/test_models.py:416
↓ 2 callersClassLazyText
schematics/translator.py:7
next →1–100 of 245, ranked by callers