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

Added async support for admin, as alternate methods on original classes #272

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

hemidactylus
Copy link
Collaborator

AstraDBADmin: methods
async_database_info
async_create_database
async_list_databases
async_drop_database

AstraDBDatabaseAdmin: methods
async_list_namespaces
async_create_namespace
async_drop_namespace
async_info
async_drop

Utility functions:
async_fetch_raw_database_info_from_id_token
async_fetch_database_info

Added to core/ops.py as needed:
async_get_databases
async_get_database
async_create_database
async_terminate_database
async_create_keyspace
async_delete_keyspace

All idiomatic addtions come with tests, docstrings

AstraDBADmin: methods
  async_database_info
  async_create_database
  async_list_databases
  async_drop_database

AstraDBDatabaseAdmin: methods
  async_list_namespaces
  async_create_namespace
  async_drop_namespace
  async_info
  async_drop

Utility functions:
  async_fetch_raw_database_info_from_id_token
  async_fetch_database_info

Added to core/ops.py as needed:
  async_get_databases
  async_get_database
  async_create_database
  async_terminate_database
  async_create_keyspace
  async_delete_keyspace

All idiomatic addtions come with tests, docstrings
@hemidactylus hemidactylus merged commit de71164 into pymongo-convergence-m1 Apr 1, 2024
1 of 2 checks passed
@hemidactylus hemidactylus deleted the SL-async-admin branch April 1, 2024 09:51
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.

1 participant