MCPcopy Create free account

hub / github.com/schematics/schematics / functions

Functions853 in github.com/schematics/schematics

Methoddispatch
(self, *args, **kwargs)
examples/django/linkify/links/views.py:19
Methoddst
(self, dt)
schematics/types/base.py:768
Methoderrors
(self)
schematics/exceptions.py:45
Methodexport
(self, value, format, context=None)
schematics/types/base.py:293
Functionf
(x, y)
tests/test_validation.py:150
Methodfields
(cls)
schematics/deprecated.py:84
Methodfields
(self)
schematics/types/compound.py:98
Methodfromkeys
Create a ChainMap with a single dict created from the iterable.
schematics/datastructures.py:213
Methodfromutc
(self, dt)
schematics/types/base.py:767
Methodfull_name
(self)
tests/test_schema.py:123
Methodget
(self, request, pk)
examples/django/linkify/links/views.py:66
Methodid
(self)
tests/test_serialize.py:558
Functionimport_converter
(field, value, context)
schematics/transforms.py:379
Functioninput
(input_instance, input_init, variant)
tests/test_conversion.py:91
Functionis_not_future
(dt, context=None)
tests/test_validation.py:77
Methodis_settable
(self)
schematics/schema.py:65
Functionmake_class
(cls)
schematics/compat.py:43
Methodmessages
an alias for errors, provided for compatibility with V1.
schematics/deprecated.py:118
Methodmodel_class
(self)
schematics/types/compound.py:199
Methodmodel_class
(self)
schematics/types/compound.py:294
Functionmodels
(request)
tests/test_export_level.py:16
Methodnew_child
New ChainMap with a new map followed by all previous maps. If no map is provided, an empty dict is used.
schematics/datastructures.py:223
Functionnew_func
(*args, **kwargs)
schematics/deprecated.py:18
Functionnew_func
(*args, **kwargs)
schematics/compat.py:62
Functionnewfunc
(*args, **kwargs)
schematics/validate.py:129
Methodnot_setter
(atom)
schematics/iteration.py:86
Methodparents
New ChainMap from maps[1:].
schematics/datastructures.py:232
Functionpatch_all
()
schematics/deprecated.py:151
Functionplayer_data
()
tests/test_private_api.py:19
Functionplayer_data
()
tests/test_schema.py:40
Functionplayer_id
(value)
tests/test_dict_type.py:137
Methodplayer_id
(self)
tests/test_serialize.py:82
Functionplayer_schema
()
tests/test_private_api.py:11
Functionplayer_schema
()
tests/test_schema.py:14
Methodpopitem
Remove and return an item pair from maps[0]. Raise KeyError is maps[0] is empty.
schematics/datastructures.py:245
Methodpost
(self, model_class, data, context)
tests/test_export.py:118
Methodpre_setattr
(self, value)
schematics/types/compound.py:142
Methodpred
(d, key, var)
schematics/contrib/machine.py:44
Methodprocess_exception
(self, request, exception)
examples/django/linkify/links/exception_logger.py:5
Methodregister_translator
(self, new_translator)
schematics/translator.py:30
Functionresolve
(value, context)
tests/test_union_type.py:74
Methodresolve
(self, value, context)
tests/test_union_type.py:65
Methods
(self)
tests/test_binding.py:142
Functionserializable
A serializable is a way to define dynamic serializable fields that are derived from other fields. >>> from schematics.models import serializa
schematics/types/serializable.py:19
MethodsetUp
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:8
MethodsetUp
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:36
MethodsetUp
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:100
MethodsetUp
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:130
Methodsetter
(self, fset)
schematics/types/serializable.py:96
Functiontest_append_field_to_model
()
tests/test_models.py:762
Functiontest_as_field_validate
()
tests/test_models.py:471
Functiontest_atoms_api_keys_param
(player_schema, player_data)
tests/test_private_api.py:23
Functiontest_attribute_default_to_none_if_no_value
()
tests/test_models.py:289
Functiontest_autopopulate_message_on_none
()
tests/test_exceptions.py:148
Functiontest_base_does_not_implement_export
()
tests/test_compound.py:6
Functiontest_basic_error
()
tests/test_validation.py:276
Functiontest_basic_type
()
tests/test_dict_type.py:11
Functiontest_boolean_to_native
()
tests/test_types.py:536
Functiontest_builtin_conversion_exception
()
tests/test_validation.py:573
Functiontest_builtin_validation_exception
()
tests/test_validation.py:578
Functiontest_callable_role
()
tests/test_serialize.py:1006
Functiontest_choices
(choice_type)
tests/test_types.py:46
Functiontest_choices_validates
()
tests/test_validation.py:18
Functiontest_choices_validates_with_embedded
()
tests/test_validation.py:35
Functiontest_circular_string_reference
()
tests/test_model_type.py:297
Functiontest_clean_str_representation
the string representation should be human-readable. json's format provides a legible format for complex data types.
tests/test_exceptions.py:176
Functiontest_clean_validation_messages
()
tests/test_validation.py:563
Functiontest_clean_validation_messages_list
()
tests/test_validation.py:568
Functiontest_complex_import_data
(recursive, preconvert_source, populate_source, populate_target, init_to_none, po
tests/test_import.py:72
Functiontest_complex_types_hiding_after_apply_role_leaves_it_empty
()
tests/test_serialize.py:473
Functiontest_compound_fields
()
tests/test_list_type.py:221
Functiontest_constant
()
tests/test_misc.py:109
Functiontest_context
()
tests/test_datastructures.py:92
Functiontest_conversion
(input, input_instance, input_init, init)
tests/test_conversion.py:106
Functiontest_conversion_error_recursive_overhead
()
tests/test_model_type.py:168
Functiontest_conversion_to_dictl
(input, input_instance, input_init, init)
tests/test_conversion.py:148
Functiontest_conversion_with_validation
(input, import_, two_pass, input_instance, input_init, init, partial, vari
tests/test_conversion.py:200
Functiontest_converter_function
()
tests/test_export.py:132
Methodtest_create
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:20
Methodtest_create_with_bad_data
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:12
Functiontest_custom_converter
()
tests/test_export_level.py:223
Functiontest_custom_exporter
()
tests/test_export.py:91
Functiontest_custom_type
()
tests/test_union_type.py:53
Functiontest_custom_validation_function_and_inheritance
()
tests/test_types.py:330
Functiontest_custom_validation_functions
()
tests/test_types.py:312
Functiontest_custom_validator_raising_dicterror
()
tests/test_validation.py:442
Functiontest_custom_validators
()
tests/test_validation.py:74
Functiontest_data_object_basics
()
tests/test_datastructures.py:7
Functiontest_data_object_copy
()
tests/test_datastructures.py:77
Functiontest_data_object_methods
()
tests/test_datastructures.py:56
Functiontest_date
()
tests/test_types.py:55
Functiontest_date_formats
()
tests/test_types.py:74
Functiontest_datetime
()
tests/test_types.py:97
Functiontest_datetime_accepts_datetime
()
tests/test_types.py:127
Functiontest_datetime_format
()
tests/test_types.py:105
Functiontest_datetime_primitive
()
tests/test_types.py:116
Functiontest_datetime_to_native
()
tests/test_types.py:111
Functiontest_deep_errors
()
tests/test_validation.py:291
Functiontest_deep_errors_with_dicts
()
tests/test_validation.py:389
Functiontest_deep_errors_with_lists
(idx1, idx2)
tests/test_validation.py:315
← previousnext →401–500 of 853, ranked by callers