Skip to content

Allow save to save to string (referring to environment) #14

@surister

Description

@surister
def save(cls,
         to: 'Storage' = None,
         format: DataFormat = None,
         table_name: str = None,
         environment: str = None,
         **kwargs):

to accepts only a Storage, e.g. Storage.env1, it can sometimes be useful to be able to just specify the storage name, e.g.

Model.save(to='environ1')

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions