Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Split out get_or_create #1397

@stacksjb

Description

@stacksjb

Currently, any function that calls config calls get_or_create which automatically creates the config.

These should be mostly updated to use a get and return an error; if no config exists we should get a consistent error and prompt user to run tod auth login (or similar setup commands) that can use get_or_create instead of auto creating the config.

get_or_create can then re-use each of those individual functions

However this may require some serious review and digging.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions