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

SchemaMeta BuildTaskSchema

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, get_attribute, handle_error, load, loads, on_bind_field, validate

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

Class Methods [hide private]

Inherited from marshmallow.schema.BaseSchema: accessor, error_handler

Class Variables [hide private]
  state = fields.Str()
  started_on = fields.Int(dump_only= True)
  ended_on = fields.Int(dump_only= True)
  git_hash = fields.Str(dump_only= True)
  chroot_name = fields.Str(dump_only= True, attribute= "name")
  build_id = fields.Int(dump_only= True)
  result_dir_url = fields.Str(dump_only= True)
  _declared_fields = {'build_id': <fields.Integer(default=<marsh...
  opts = <marshmallow.schema.SchemaOpts object at 0xf4d3b40c>

Inherited from marshmallow.schema.Schema: __processors__

Inherited from marshmallow.schema.BaseSchema: TYPE_MAPPING, __accessor__, __error_handler__

Properties [hide private]

Inherited from marshmallow.schema.BaseSchema: dict_class, set_class

Class Variable Details [hide private]

_declared_fields

Value:
{'build_id': <fields.Integer(default=<marshmallow.missing>, attribute=\
None, validate=None, required=False, load_only=False, dump_only=True, \
missing=<marshmallow.missing>, allow_none=False, error_messages={u'req\
uired': u'Missing data for required field.', u'validator_failed': u'In\
valid value.', u'null': u'Field may not be null.', u'type': u'Invalid \
input type.', u'invalid': u'Not a valid integer.'})>,
 'chroot_name': <fields.String(default=<marshmallow.missing>, attribut\
e='name', validate=None, required=False, load_only=False, dump_only=Tr\
...