Skip to content

Commit 0a1fd7b

Browse files
committed
update branch
1 parent 813d9b9 commit 0a1fd7b

4 files changed

Lines changed: 19 additions & 42 deletions

File tree

.gitignore

Lines changed: 13 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,14 @@
11
```
22
# Python
33
__pycache__/
4-
*.py[cod]
5-
*$py.class
6-
*.so
7-
.Python
8-
build/
9-
develop-eggs/
10-
dist/
11-
downloads/
12-
eggs/
13-
.eggs/
14-
lib/
15-
lib64/
16-
parts/
17-
sdist/
18-
var/
19-
wheels/
20-
*.egg-info/
21-
.installed.cfg
22-
*.egg
4+
*.pyc
5+
*.pyo
6+
*.pyd
237

24-
# Virtual environments
25-
venv/
26-
ENV/
27-
env.bak/
28-
.venv/
29-
env/
30-
ENV/
8+
# Local environment
9+
.env
10+
.env.local
11+
*.env.*
3112

3213
# IDE
3314
.vscode/
@@ -38,23 +19,13 @@ ENV/
3819
# Logs
3920
*.log
4021

41-
# Environment variables
42-
.env
43-
.env.local
44-
*.env.*
45-
46-
# Coverage reports
22+
# Coverage
4723
.coverage
24+
coverage/
4825
htmlcov/
49-
.coverage.*
50-
.cache
51-
52-
# Pytest
53-
.pytest_cache/
54-
55-
# MyPy
56-
.mypy_cache/
5726

58-
# Distribution / packaging
59-
.pybuild/
27+
# Temporary files
28+
*.tmp
29+
.DS_Store
30+
Thumbs.db
6031
```
Binary file not shown.
Binary file not shown.

src/modules/user/infrastructure/models/user_model.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
from enum import Enum
2+
from typing import TYPE_CHECKING
23

34
from sqlalchemy import Index, String
45
from sqlalchemy.orm import Mapped, mapped_column, relationship
56

67
from src.shared.database.mixin.timestamp import SoftDeleteMixin, TimeStampMixin
78
from src.shared.database.model import Base
89

10+
if TYPE_CHECKING:
11+
from src.modules.authorization.infrastructure.models.user_has_role_model import (
12+
UserHasRoleModel,
13+
)
14+
915

1016
class UserStatus(str, Enum):
1117
ACTIVE = "active"

0 commit comments

Comments
 (0)