test_first_test module

class test_first_test.BadExampleRecursiveSchema(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.ArgSchema

This schema is designed to be a schema_type for an ArgSchemaParser object
BadExampleRecursiveSchema
key description default field_type json_type
log_level set the logging level of the module ERROR LogLevel str
tree no description (REQUIRED) BadRecursiveSchema dict
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.BadRecursiveSchema(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: marshmallow.schema.Schema

BadRecursiveSchema
key description default field_type json_type
children children of this node NA BadRecursiveSchema list
name name of this node anonymous String str
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.ExampleRecursiveSchema(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.ArgSchema

This schema is designed to be a schema_type for an ArgSchemaParser object
ExampleRecursiveSchema
key description default field_type json_type
log_level set the logging level of the module ERROR LogLevel str
tree no description (REQUIRED) RecursiveSchema dict
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.ModelFit(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.DefaultSchema

ModelFit
key description default field_type json_type
fit_type no description NA String str
hof no description NA InputFile str
hof_fit no description NA InputFile str
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.MyExtension(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.DefaultSchema

MyExtension
key description default field_type json_type
a a string (REQUIRED) String str
c an integer 10 Integer int
b an integer NA Integer int
d a list of integers NA List int
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.MyShorterExtension(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.ArgSchema

This schema is designed to be a schema_type for an ArgSchemaParser object
MyShorterExtension
key description default field_type json_type
a a string NA String str
c an integer 10 Integer int
b an integer NA Integer int
log_level set the logging level of the module ERROR LogLevel str
d a list of integers NA List int
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.PopulationSelectionParameters(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.ArgSchema

This schema is designed to be a schema_type for an ArgSchemaParser object
PopulationSelectionParameters
key description default field_type json_type
paths no description NA PopulationSelectionPaths dict
log_level set the logging level of the module ERROR LogLevel str
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.PopulationSelectionPaths(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.DefaultSchema

PopulationSelectionPaths
key description default field_type json_type
fits no description NA ModelFit list
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.RecursiveSchema(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.DefaultSchema

RecursiveSchema
key description default field_type json_type
children children of this node NA RecursiveSchema list
name name of this node anonymous String str
opts = <marshmallow.schema.SchemaOpts object>
class test_first_test.SimpleExtension(only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)[source]

Bases: argschema.schemas.ArgSchema

This schema is designed to be a schema_type for an ArgSchemaParser object
SimpleExtension
key description default field_type json_type
test no description (REQUIRED) MyExtension dict
log_level set the logging level of the module ERROR LogLevel str
opts = <marshmallow.schema.SchemaOpts object>
test_first_test.bad_test_recursive_schema()[source]
test_first_test.simple_extension_file(*args, **kwargs)[source]
test_first_test.test_bad_input_json_argparse()[source]
test_first_test.test_bad_path()[source]
test_first_test.test_david_example(tmpdir_factory)[source]
test_first_test.test_log_catch()[source]
test_first_test.test_recursive_schema()[source]
test_first_test.test_simple_description()[source]
test_first_test.test_simple_example()[source]
test_first_test.test_simple_extension_fail()[source]
test_first_test.test_simple_extension_pass()[source]
test_first_test.test_simple_extension_required()[source]
test_first_test.test_simple_extension_write_debug_level(simple_extension_file)[source]
test_first_test.test_simple_extension_write_overwrite(simple_extension_file)[source]
test_first_test.test_simple_extension_write_overwrite_list(simple_extension_file)[source]
test_first_test.test_simple_extension_write_pass(simple_extension_file)[source]