Skip to content
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

Fixes: #1348 Typings for target_metadata sequence of metadatas #1349

Closed

Conversation

iurisilvio
Copy link
Contributor

@iurisilvio iurisilvio commented Nov 8, 2023

Ref #1348

Add Sequence[MetaData] typing to target_metadata args.

Description

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 the issue number, and create an issue if none exists, which
      must include a complete example of the issue. one line code fixes without an
      issue and demonstration will not be accepted.
    • Please include: Fixes: #<issue number> in the commit message
    • please include tests. one line code fixes without tests will not be accepted.
  • A new feature implementation
    • please include the issue number, and create an issue if none exists, which must
      include a complete example of how the feature would look.
    • Please include: Fixes: #<issue number> in the commit message
    • please include tests.

Have a nice day!

@iurisilvio iurisilvio changed the title Fix typings for target_metadata sequence of metadatas Fixes: #1348 Typings for target_metadata sequence of metadatas Nov 8, 2023
@iurisilvio iurisilvio force-pushed the target-metadata-sequence branch 2 times, most recently from b6a4a7e to 2f68033 Compare November 8, 2023 09:38
@iurisilvio
Copy link
Contributor Author

I tried to write a test for the typing, but mypy don't look into tests folder. I think alembic needs a test for the feature of metadata sequences, but I don't know how/where to write it.

@iurisilvio iurisilvio force-pushed the target-metadata-sequence branch from 2f68033 to 5fcdaf5 Compare November 8, 2023 12:41
@zzzeek
Copy link
Member

zzzeek commented Nov 8, 2023

alembic doesnt have typing tests right now

@CaselIT CaselIT requested a review from sqla-tester November 8, 2023 19:06
Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of CaselIT to try to get revision 5fcdaf5 of this pull request into gerrit so we can run tests and reviews and stuff

@sqla-tester
Copy link
Collaborator

New Gerrit review created for change 5fcdaf5: https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/4965

@sqla-tester
Copy link
Collaborator

mike bayer (zzzeek) wrote:

ok it's good, thanks!

View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/4965

@sqla-tester
Copy link
Collaborator

Gerrit review https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/4965 has been merged. Congratulations! :)

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.

3 participants