Skip to content

[FEATURE]: Refactor default_values #183

@willu47

Description

@willu47

Feature Request

There is no reason to "read in" default values in the ReadStrategy subclasses as this information is now stored in config.

Is your feature related to a bug?

No response

Suggested Solution

This functionality can be removed, and the ReadStrategy.read() method can return just the data rather than the tuple of data and default values.

The WriteStrategy does require default values if the write_defaults flag is set to True. So we can move the get_defauylts method over to the write strategies.

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions