run ruff check --fix
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
Contains view and helper functions for confirming and processing deletes.
|
||||
"""
|
||||
|
||||
from typing import Optional
|
||||
|
||||
import nextcord
|
||||
from sqlalchemy import delete, select
|
||||
@@ -61,7 +60,7 @@ class DeleteConfirmView(nextcord.ui.Modal):
|
||||
await interaction.response.send_message("Deletion complete.", ephemeral=True)
|
||||
|
||||
|
||||
def create_delete_id(group_id: int, category_id: Optional[int] = None) -> str:
|
||||
def create_delete_id(group_id: int, category_id: int | None = None) -> str:
|
||||
"""
|
||||
Creates a delete id string to tell the view what to delete.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user