Skip to content

Conversation

JaeHyuckSa
Copy link
Contributor

I have made things!

I modified the Any value of the django.db.backends.mysql.base.DatabaseWrapper's arguments .

  • django.db.backends.mysql.base.DatabaseWrapper.data_types
  • django.db.backends.mysql.base.DatabaseWrapper.operators
  • django.db.backends.mysql.base.DatabaseWrapper.pattern_ops
  • django.db.backends.mysql.base.DatabaseWrapper.isolation_levels
  • django.db.backends.mysql.base.DatabaseWrapper.SchemaEditorClass
  • django.db.backends.mysql.base.DatabaseWrapper.isolation_level
  • django.db.backends.mysql.base.DatabaseWrapper.needs_rollback

Related issues

@intgr intgr changed the title Fix Any value for django.db.backends.mysql.base.DatabaseWrapper's arguments Improve typing of django.db.backends.mysql.base.DatabaseWrapper attributes May 6, 2024
@JaeHyuckSa JaeHyuckSa mentioned this pull request May 11, 2024
39 tasks
django_conversions: Any
server_version_re: Any

class MySQLDatabase(Protocol): ...
Copy link
Member

Choose a reason for hiding this comment

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

This protocol should have at least some attributes / methods

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm having a hard time figuring it out. I think I just need to add methods or attributes related to the connection, but is there anything else I can include?

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants