feat: event proposal and approval workflow #9

Closed
padreug wants to merge 38 commits from feat/event-approval-workflow into main
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 33977c53d6 - Show all commits

Imports Optional type hint

Imports the `Optional` type hint from the `typing` module into `crud.py` and `models.py`.

This provides more explicit type annotations where values can be `None`.
padreug 2025-11-04 01:42:14 +01:00

View file

@ -1,4 +1,5 @@
from datetime import datetime, timedelta, timezone from datetime import datetime, timedelta, timezone
from typing import Optional
from lnbits.db import Database from lnbits.db import Database
from lnbits.helpers import urlsafe_short_hash from lnbits.helpers import urlsafe_short_hash

View file

@ -1,4 +1,5 @@
from datetime import datetime from datetime import datetime
from typing import Optional
from fastapi import Query from fastapi import Query
from pydantic import BaseModel, EmailStr, root_validator from pydantic import BaseModel, EmailStr, root_validator