Skip to content

Change .session() Error behavior #32

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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