Skip to content

Question: Is there a way to wait until a table is deleted? #519

Open
@HyeongGun

Description

@HyeongGun

Hi !
I am new to PynamoDB and I was wondering if there is a way to wait until a table is deleted.
There is a parameter for create_table, however, It seems there is no way to wait until a table is deleted.
I can use dynamodb waiter instead but it would be nice if there is the same feature as create_table!
Thank you for the kind library and your best efforts.

 @classmethod
    def create_table(cls, wait=False, read_capacity_units=None, write_capacity_units=None):
    @classmethod
    def delete_table(cls):
        """
        Delete the table for this model
        """
        return cls._get_connection().delete_table()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions