Skip to content

Add custom meta data parameter#255

Merged
immunda merged 1 commit intopallets-eco:masterfrom
svenstaro:add-metadata-parameter
Mar 26, 2015
Merged

Add custom meta data parameter#255
immunda merged 1 commit intopallets-eco:masterfrom
svenstaro:add-metadata-parameter

Conversation

@svenstaro
Copy link
Contributor

Fixes #60, #61.

@davidism
Copy link
Member

It's clear we need to be able to override everything that is passed to declarative_base. A more thorough way to do this would to be allowed to pass in a base_kwargs dictionary, which will keyword unpacked.

@svenstaro
Copy link
Contributor Author

Any more discussion on this? Is that the last word on it?

@immunda
Copy link
Contributor

immunda commented Mar 26, 2015

@davidism is right, but let's get this in for 2.1. A more general solution can be developed 3.0 which will accept metadata as part of kwargs.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

No way to use a pre-existing metadata object with flask-sqlalchemy

3 participants

Comments