Skip to content

Rework configuration #17

@jcjones

Description

@jcjones

There's some inconsistent type checking here. Consider a library like Cerberus (https://github.com/pyeve/cerberus) which allows you to describe a config schema, enforce types, and define default setters where you need to merge values from args and yaml conditionally. You'll get consistent warning when a required input is of the wrong type or not present at all and it can be configured to purge data that's not part of the schema.

Originally posted by @beautifulentropy in #4 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions