Skip to content

Commit

Permalink
Fixed issue with str user_id
Browse files Browse the repository at this point in the history
  • Loading branch information
vsdudakov committed Apr 21, 2023
1 parent 79d6180 commit 18152b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fastadmin/api/service.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import inspect
import logging
import re
from collections.abc import Sequence
from datetime import datetime, timedelta
from io import BytesIO, StringIO
from typing import Any, cast
from uuid import UUID

import logging
import jwt
from asgiref.sync import sync_to_async

Expand All @@ -33,8 +33,7 @@
from fastadmin.models.schemas import ConfigurationSchema, ModelSchema
from fastadmin.settings import settings


logger = logging.getLogger(__name__)
logger = logging.getLogger(__name__)


def convert_id(id: str | int | UUID) -> int | UUID | None:
Expand Down

0 comments on commit 18152b9

Please sign in to comment.