8000 Fix: Pass through keyword args for create_geospatial_table(). Fixes: #532 by jurgispods · Pull Request #533 · geoalchemy/geoalchemy2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: Pass through keyword args for create_geospatial_table(). Fixes: #532 #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

jurgispods
Copy link
Contributor
@jurgispods jurgispods commented Feb 14, 2025

Description

The Alembic helpers registering a create_geospatial_table operation did not pass additional keyword arguments to the operation. Additional user-provided arguments like postgres_partition_by would therefore get lost when using the geoalchemy2.alembic_helpers.writer helper function. Fixes: #532

Checklist

This pull request is:

  • A documentation / typographical error fix
    • Good to go, no issue or tests are needed
  • A short code fix
    • Please include: Fixes: #<issue number> in the description if it solves an existing issue
      (which must include a complete example of the issue).
    • Please include tests that fail with the main branch and pass with the provided fix.
  • A new feature implementation or update an existing feature
    • Please include: Fixes: #<issue number> in the description if it solves an existing issue
      (which must include a complete example of the feature).
    • Please include tests that cover every lines of the new/updated feature.
    • Please update the documentation to describe the new/updated feature.

@adrien-berchet adrien-berchet merged commit 66b2028 into geoalchemy:master Feb 17, 2025
10 checks passed
@adrien-berchet
Copy link
Member

Thanks for this work @jurgispods !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyword arguments for table creation not respected when using Geoalchemy with Alembic
2 participants
0