Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/schematics/schematics
/ types & classes
Types & classes
245 in github.com/schematics/schematics
⨍
Functions
853
◇
Types & classes
245
↳
Endpoints
4
↓ 233 callers
Class
StringType
A Unicode string field.
schematics/types/base.py:384
↓ 99 callers
Class
IntType
A field that validates input as an Integer
schematics/types/base.py:502
↓ 77 callers
Class
ModelType
A field that can hold an instance of the specified model.
schematics/types/compound.py:88
↓ 67 callers
Class
ValidationError
Exception raised when invalid data is encountered.
schematics/exceptions.py:205
↓ 55 callers
Class
ListType
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 callers
Class
DateTimeType
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 callers
Class
ConversionError
Exception raised when data cannot be converted to the correct python type
schematics/exceptions.py:200
↓ 25 callers
Class
User
tests/test_models.py:131
↓ 24 callers
Class
ErrorMessage
schematics/exceptions.py:102
↓ 20 callers
Class
DictType
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 callers
Class
MultilingualStringType
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 callers
Class
Foo
tests/test_polymodeltype.py:40
↓ 17 callers
Class
Player
tests/test_serialize.py:78
↓ 15 callers
Class
M
tests/test_models.py:19
↓ 13 callers
Class
DataObject
An object for holding data as attributes. ``DataObject`` can be instantiated like ``dict``:: >>> d = DataObject({'one': 1, 'two': 2
schematics/datastructures.py:17
↓ 13 callers
Class
SimpleModel
tests/test_models.py:633
↓ 11 callers
Class
BooleanType
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 callers
Class
Field
schematics/schema.py:56
↓ 11 callers
Class
M
tests/test_conversion.py:25
↓ 11 callers
Class
MainModel
tests/test_recursive_import.py:25
↓ 10 callers
Class
Question
tests/test_serialize.py:211
↓ 10 callers
Class
User
tests/test_list_type.py:14
↓ 9 callers
Class
B
tests/test_misc.py:60
↓ 9 callers
Class
Constant
schematics/util.py:44
↓ 9 callers
Class
Context
schematics/datastructures.py:101
↓ 9 callers
Class
UnionType
schematics/types/union.py:33
↓ 7 callers
Class
EnumType
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 callers
Class
M
tests/test_import.py:17
↓ 7 callers
Class
PolyModelType
A field that accepts an instance of any of the specified models.
schematics/types/compound.py:336
↓ 6 callers
Class
FooContext
tests/test_datastructures.py:94
↓ 6 callers
Class
IPv4Type
A field that stores a valid IPv4 address.
schematics/types/net.py:71
↓ 6 callers
Class
Location
tests/test_serialize.py:13
↓ 6 callers
Class
MACAddressType
A field that stores a valid MAC address.
schematics/types/net.py:95
↓ 6 callers
Class
School
tests/test_validation.py:277
↓ 6 callers
Class
Signup
tests/test_validation.py:225
↓ 6 callers
Class
TimedeltaType
Converts Python Timedelta objects into the corresponding value in seconds.
schematics/types/base.py:980
↓ 5 callers
Class
Card
tests/test_list_type.py:127
↓ 5 callers
Class
Foo
tests/test_validation.py:265
↓ 5 callers
Class
M
tests/test_equality.py:7
↓ 5 callers
Class
Player
tests/test_model_type.py:14
↓ 5 callers
Class
Player
tests/test_models.py:120
↓ 5 callers
Class
PlayerInfo
tests/test_dict_type.py:12
↓ 5 callers
Class
TestDoc
tests/test_validation.py:84
↓ 5 callers
Class
URLType
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 callers
Class
UTCDateTimeType
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 callers
Class
Aaa
tests/test_polymodeltype.py:12
↓ 4 callers
Class
Document
tests/test_validation.py:19
↓ 4 callers
Class
ExperienceLevel
tests/test_serialize.py:131
↓ 4 callers
Class
FloatType
A field that validates input as a Float
schematics/types/base.py:519
↓ 4 callers
Class
Game
tests/test_serialize.py:218
↓ 4 callers
Class
IPAddressType
A field that stores a valid IPv4 or IPv6 address.
schematics/types/net.py:53
↓ 4 callers
Class
LinkReadSerializer
Serializer used during GET and after successful link creation
examples/django/linkify/links/serializers.py:28
↓ 4 callers
Class
M
tests/test_serialize.py:403
↓ 4 callers
Class
Person
tests/test_binding.py:12
↓ 4 callers
Class
Player
tests/test_invariants.py:13
↓ 4 callers
Class
Role
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 callers
Class
BaseError
schematics/exceptions.py:25
↓ 3 callers
Class
CompoundError
schematics/exceptions.py:215
↓ 3 callers
Class
DataError
schematics/exceptions.py:228
↓ 3 callers
Class
DateType
Defaults to converting to and from ISO8601 date values.
schematics/types/base.py:637
↓ 3 callers
Class
FancyStringType
tests/test_union_type.py:63
↓ 3 callers
Class
Foo
tests/test_models.py:346
↓ 3 callers
Class
FrozenDict
schematics/datastructures.py:285
↓ 3 callers
Class
GeoPointType
A list storing a latitude and longitude.
schematics/types/base.py:1026
↓ 3 callers
Class
GoodModel
tests/test_validation.py:206
↓ 3 callers
Class
IPv6Type
A field that stores a valid IPv6 address.
schematics/types/net.py:81
↓ 3 callers
Class
M
tests/test_polymodeltype.py:126
↓ 3 callers
Class
M
tests/test_validation.py:534
↓ 3 callers
Class
M
tests/test_export_level.py:26
↓ 3 callers
Class
M
tests/test_types.py:361
↓ 3 callers
Class
M0
tests/test_models.py:500
↓ 3 callers
Class
M1
tests/test_models.py:507
↓ 3 callers
Class
MockCreationError
Exception raised when a mock value cannot be generated.
schematics/exceptions.py:235
↓ 3 callers
Class
ObjectIdType
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 callers
Class
Player
tests/test_functional.py:8
↓ 3 callers
Class
PlayerInfo
tests/test_list_type.py:30
↓ 3 callers
Class
Root
tests/test_models.py:47
↓ 3 callers
Class
Schema
schematics/schema.py:13
↓ 3 callers
Class
StopValidationError
Exception raised when no more validation need occur.
schematics/exceptions.py:210
↓ 3 callers
Class
TestModel
tests/test_serialize.py:504
↓ 3 callers
Class
Thing
tests/test_model_type.py:225
↓ 3 callers
Class
UUIDType
A field that stores a valid UUID value.
schematics/types/base.py:353
↓ 3 callers
Class
UnknownFieldError
Exception raised when attempting to access a nonexistent field using the subscription syntax.
schematics/exceptions.py:247
↓ 3 callers
Class
User
tests/test_serialize.py:623
↓ 2 callers
Class
BaseType
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 callers
Class
BasicConverter
schematics/transforms.py:349
↓ 2 callers
Class
Card
tests/test_model_type.py:87
↓ 2 callers
Class
Card
tests/test_models.py:475
↓ 2 callers
Class
CategoryStats
tests/test_dict_type.py:32
↓ 2 callers
Class
CategoryStatsInfo
tests/test_list_type.py:27
↓ 2 callers
Class
Child
tests/test_models.py:200
↓ 2 callers
Class
CustomType
tests/test_model_type.py:215
↓ 2 callers
Class
EmailType
A field that validates input as an E-Mail-Address.
schematics/types/net.py:259
↓ 2 callers
Class
FieldDescriptor
``FieldDescriptor`` instances serve as field accessors on models.
schematics/models.py:29
↓ 2 callers
Class
Foo
tests/test_export.py:75
↓ 2 callers
Class
FooModel
tests/test_models.py:740
↓ 2 callers
Class
FooType
tests/test_export.py:82
↓ 2 callers
Class
FrozenList
schematics/datastructures.py:315
↓ 2 callers
Class
GrandParent
tests/test_models.py:416
↓ 2 callers
Class
LazyText
schematics/translator.py:7
next →
1–100 of 245, ranked by callers