pow_devel icon indicating copy to clipboard operation
pow_devel copied to clipboard

development repo for PyhtonOnWheels framework

Results 10 pow_devel issues
Sort by recently updated
recently updated
newest added

Produces a warning in running tests. ``` migrations/env.py:62: SADeprecationWarning: Table.tometadata() is renamed to Table.to_metadata() (deprecated since: 1.4) t.tometadata(m) ```

Leads to error: `sqlalchemy.exc.ArgumentError: Mapper mapped class could not assemble any primary key columns for mapped table`

bug
check / verify

ERROR: dash 1.6.0 has requirement dash-core-components==1.5.0, but you'll have dash-core-components 1.8.0 which is incompatible. ERROR: dash 1.6.0 has requirement dash-html-components==1.0.1, but you'll have dash-html-components 1.0.2 which is incompatible. ERROR: dash...

bug
check / verify

currently available for SQL Models to use SQL refelction: [see here](https://www.pythononwheels.org/article/a82acc09-9e40-4ace-92da-7ccf076a608f) # Toggle using the pow schema extensions (id, created_at, last_updated) _use_pow_schema_attrs = False

enhancement
rework / optimize

So you can access the schema as well API /modelname/schema Returns JSON Example JSON Rsponse for a blog article model: call: `localhost:8080/article/shema` response: ``` schema = { 'title' : {...

enhancement

Extend Cerberus validator re taken from: [stackoverflow](https://stackoverflow.com/questions/11384589/what-is-the-correct-regex-for-matching-values-generated-by-uuid-uuid4-hex) ``` def _validate_type_objectid(self, value): """ Enables validation for `objectid` schema attribute. :param value: field value. """ regex = re.compile('^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}\Z', re.I) if regex.match(value): return...

enhancement

- in decoders.py -- for example when trying to convert None to int. - in basemodel.py (find_xx) methods. -- which always tries to convert into objects using decoders.py

check / verify

Followed exact steps from quick start demo and getting this error (windows and ubuntu the same error) Traceback (most recent call last): File "C:\Work\pow\todo\server.py", line 16, in from todo.lib.application import...

Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0.3 to 2.2.3. Release notes Sourced from werkzeug's releases. 2.2.3 This is a fix release for the 2.2.x release branch. Changes: https://werkzeug.palletsprojects.com/en/2.2.x/changes/#version-2-2-3 Milestone: https://github.com/pallets/werkzeug/milestone/26?closed=1 This release contains...

dependencies

adapt to newer werkzeug versions or: cut out the function to internal powlib.py => only needed to recognize werkzeug routes and convert to regex for further use in tornado routes

check / verify