Skip to content

Change .session() Error behavior #32

Open
@mkrd

Description

@mkrd

Currently, if a file does not exist, a FileNotFoundError is raised.
If the file exists, but a key that does not exit was specified, then a KeyError is raised

Proposal:

  • If the file exists, but a key that does not exit was specified, no error is raised and the session variable is none. on Write, the new key will be added to the db file

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