Frazer McLean

Results 26 issues of Frazer McLean

With modules that use astropy/numpy we experienced "AttributeError: Module 'numpy.core' has no attribute 'records'" and managed to find the root cause was networkx's `nx.lazy_import("numpy")`. ### Current Behavior numpy's modules end...

wrap_response seems to think that a self link can't be provided when there isn't any data but I don't see this in the spec: https://github.com/marshmallow-code/marshmallow-jsonapi/blob/22c0e38cc233ce3fa7fd25b32377c0b6d23eaa3c/marshmallow_jsonapi/schema.py#L418-L427 There is an example of...

**Still needs documentation, do not merge.** This PR adds a `resource_identifier` keyword argument to `Schema` to dump [resource identifier objects](http://jsonapi.org/format/#document-resource-identifier-objects), as you would at a relationships endpoint, e.g. `/users//relationships/articles`. In...

Would a PR be accepted that pulled out part of this code: https://github.com/marshmallow-code/marshmallow-jsonapi/blob/d3ef934cc419d5208e37503752214934b3a98260/marshmallow_jsonapi/schema.py#L320-L341 into a separate function? Specifically, the part that creates a map of JSONAPI attributes to Marshmallow fields?...

Currently, marshmallow-jsonapi doesn't have a way to easily generate [resource identifier objects][rio], typically used for relationship requests. # Example ## Fetch resource ``` GET /articles/1 ``` ```json { "data": {...

**Describe the bug** From https://alembic.sqlalchemy.org/en/latest/cookbook.html#sharing-a-connection-with-a-series-of-migration-commands-and-environments there is this snippet: ``` def run_migrations_online(): connectable = config.attributes.get('connection', None) if connectable is None: # only create Engine if we don't have a Connection...

bug
documentation

I have an existing database A. A has had an alembic migration applied in the past with `op.f('some_long_constraint_name')`, which PostgreSQL truncated to `some_long_constraint_`. I have a new database B. Applying...

bug
op directives
external SQLAlchemy issues
autogenerate - rendering
naming convention issues

https://bucardo.org/check_postgres/check_postgres.pl.html `check_postgres_replication_slots` is missing, for example.

### Preflight checklist - [X] I could not find a solution in the existing issues, docs, nor discussions. - [X] I agree to follow this project's [Code of Conduct](https://github.com/ory/hydra/blob/master/CODE_OF_CONDUCT.md). -...

bug

I had this problem on Node 10, but the quickest way to check on a clean system is in the node docker container: ```bash docker run --rm -it node bash...