Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body TryExcept body Assign NameStore IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Expr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore CompareNotIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list Call AttributeLoad NameLoad attr keyword Str keyword BinOpAdd NameLoad Str keyword BinOpAdd NameLoad Str
N/A N/A copy N/A jsonschema cliquet resource cliquet.errors raise_invalid jsonschema exceptions jsonschema_exceptions pyramid.security Authenticated pyramid.settings asbool kinto.views object_exists_or_404 RecordSchema N/A N/A resource ResourceSchema N/A Options N/A N/A N/A preserve_unknown True N/A N/A N/A _parent_path /buckets/{{bucket_id}}/collections/{{collection_id}} Record N/A N/A resource ShareableResource N/A N/A mapping N/A RecordSchema N/A schema_field schema __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super Record self __init__ args kwargs N/A collections N/A N/A N/A N/A self request bound_data setdefault collections N/A N/A collection_uri N/A N/A self get_parent_id N/A self request N/A N/A collection_uri collections N/A N/A collection_parent_id N/A /buckets/%s N/A self bucket_id N/A collection N/A object_exists_or_404 N/A self request collection_id collection parent_id collection_parent_id object_id N/A self collection_id N/A N/A collections N/A collection_uri collection N/A N/A self _collection N/A collections N/A collection_uri N/A get_parent_id N/A N/A self request N/A N/A N/A N/A self bucket_id N/A N/A request matchdict N/A bucket_id N/A N/A self collection_id N/A N/A request matchdict N/A collection_id N/A N/A /buckets/%s/collections/%s N/A N/A self bucket_id N/A self collection_id N/A is_known_field N/A N/A self field_name N/A N/A N/A Without schema, any field is considered as known. N/A True N/A process_record N/A N/A self new old N/A None N/A N/A Validate records against collection schema, if any. N/A new N/A N/A N/A super Record self process_record new old N/A schema N/A N/A N/A self _collection get schema N/A settings N/A N/A N/A self request registry settings N/A schema_validation experimental_collection_schema_validation N/A N/A N/A schema N/A N/A asbool N/A N/A settings get schema_validation N/A N/A new N/A collection_timestamp N/A N/A self _collection N/A N/A N/A self model modified_field N/A N/A N/A stripped N/A N/A copy deepcopy new N/A N/A N/A stripped pop N/A N/A self model id_field None N/A N/A N/A stripped pop N/A N/A self model modified_field None N/A N/A N/A stripped pop N/A N/A self model permissions_field None N/A N/A N/A stripped pop N/A self schema_field None N/A N/A N/A jsonschema validate stripped schema N/A N/A N/A N/A jsonschema_exceptions ValidationError N/A e N/A N/A N/A N/A field N/A N/A e path N/A N/A N/A e path pop N/A N/A N/A e validator_value pop N/A N/A N/A AttributeError N/A N/A field None N/A N/A raise_invalid N/A self request name field description N/A e message N/A N/A new N/A N/A self schema_field collection_timestamp N/A new N/A collection_get N/A N/A self N/A N/A N/A result N/A N/A N/A super Record self collection_get N/A N/A N/A self _handle_cache_expires N/A N/A self request response N/A result N/A get N/A N/A self N/A N/A N/A result N/A N/A N/A super Record self get N/A N/A N/A self _handle_cache_expires N/A N/A self request response N/A result N/A _handle_cache_expires N/A N/A self response N/A N/A N/A If the parent collection defines a ``cache_expires`` attribute,
        then cache-control response headers are sent.

        .. note::

            Those headers are also sent if the
            ``kinto.record_cache_expires_seconds`` setting is defined.
         N/A is_anonymous N/A Authenticated N/A N/A self request effective_principals N/A N/A is_anonymous N/A N/A N/A cache_expires N/A N/A N/A self _collection get cache_expires N/A N/A cache_expires None N/A N/A by_bucket N/A kinto.%s_record_cache_expires_seconds N/A self bucket_id N/A by_collection N/A %s_%s_record_cache_expires_seconds N/A N/A self bucket_id N/A self collection_id N/A settings N/A N/A N/A self request registry settings N/A cache_expires N/A N/A settings get by_collection N/A N/A settings get by_bucket N/A N/A cache_expires None N/A N/A N/A N/A response cache_expires seconds cache_expires N/A N/A N/A N/A resource register name record collection_path N/A _parent_path /records record_path N/A _parent_path /records/{{id}}