Package coprs :: Package rest_api :: Module schemas :: Class BuildCreateFromUrlSchema
[hide private]
[frames] | no frames]

Class BuildCreateFromUrlSchema

source code


Nested Classes [hide private]

Inherited from marshmallow.schema.BaseSchema: Meta, OPTIONS_CLASS

Instance Methods [hide private]

Inherited from marshmallow.schema.BaseSchema: __init__, __repr__, dump, dumps, load, loads, make_object, validate

Inherited from marshmallow.schema.BaseSchema (private): _do_load, _invoke_dump_processors, _invoke_field_validators, _invoke_load_processors, _invoke_processors, _invoke_validators, _postprocess, _update_fields

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from marshmallow.schema.BaseSchema: accessor, data_handler, error_handler, preprocessor, validator

Class Variables [hide private]
  srpm_url = fields.Url(required= True, validate= lambda u: u.st...
  _declared_fields = {'built_packages': <fields.BuiltPackages(de...
  opts = <marshmallow.schema.SchemaOpts object at 0x7fee481a9490>

Inherited from BuildCreateSchema: chroots, enable_net, project_id, state

Inherited from BuildSchema: built_packages, id, package_name, package_version, repos, source_metadata, source_type, submitted_on, submitter

Inherited from marshmallow.schema.Schema: __processors__

Inherited from marshmallow.schema.BaseSchema: TYPE_MAPPING, __accessor__, __data_handlers__, __error_handler__, __preprocessors__, __validators__

Properties [hide private]

Inherited from marshmallow.schema.BaseSchema: dict_class, set_class

Inherited from object: __class__

Class Variable Details [hide private]

srpm_url

Value:
fields.Url(required= True, validate= lambda u: u.startswith("http"))

_declared_fields

Value:
{'built_packages': <fields.BuiltPackages(default=<marshmallow.missing>\
, attribute=None, error=None, validate=None, required=False, load_only\
=False, dump_only=True, missing=<marshmallow.missing>, allow_none=Fals\
e)>,
 'chroots': <fields.List(default=<marshmallow.missing>, attribute=None\
, error=None, validate=None, required=False, load_only=False, dump_onl\
y=False, missing=<marshmallow.missing>, allow_none=False)>,
 'enable_net': <fields.Boolean(default=<marshmallow.missing>, attribut\
...