Skip to content

Drop kwargs from Application ctor #243

@asvetlov

Description

@asvetlov

I propose to just remove **kwargs from Application.__init__ signature.

The problem is: we are likely want to add new parameters to the constructor in future.

But they are will clash with params used by customers, sure (we both will use simple and short parameter names).

To avoid the problem I would like to just forbid the case.

Application is not a dict in our philosophy, it's just a MutableMapping.

If you need to store extra data in the app please do it explicitly:

app = Application()
app['key'] = data

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions