Skip to content

Commit feca5b9

Browse files
committed
Refactor authorization models to remove circular imports and update gitignore
- Updated .gitignore with standard Python project exclusions and removed redundant entries - Modified PermissionModel to remove direct imports and use string references for relationships - Modified AuthorizationResourceModel to remove direct imports and use string references for relationships - Modified RolePermissionModel to remove direct imports and use string references for relationships - Modified UserHasRoleModel to remove direct imports and use string references for relationships This change eliminates circular import dependencies between authorization models while maintaining all existing functionality and relationships. The gitignore file now follows standard conventions for Python projects.
1 parent 5694eff commit feca5b9

134 files changed

Lines changed: 26 additions & 68 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 23 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,33 @@
1-
```
1+
```gitignore
2+
# Python cache
23
__pycache__/
34
*.pyc
45
*.pyo
56
*.pyd
6-
*.log
7-
*.tmp
8-
*.swp
9-
.DS_Store
10-
Thumbs.db
7+
8+
# Dependencies
9+
.venv/
10+
venv/
11+
env/
1112
.env
1213
.env.local
1314
.env.*
15+
16+
# Logs
17+
*.log
18+
19+
# Coverage
20+
.coverage
21+
htmlcov/
22+
coverage/
23+
24+
# IDE
1425
.vscode/
1526
.idea/
16-
node_modules/
17-
venv/
18-
.venv/
19-
dist/
20-
build/
21-
target/
22-
.gradle/
23-
.mypy_cache/
24-
.pytest_cache/
25-
coverage/
26-
htmlcov/
27-
.coverage
28-
*.zip
29-
*.gz
30-
*.tar
31-
*.tgz
32-
*.bz2
33-
*.xz
34-
*.7z
35-
*.rar
36-
*.zst
37-
*.lz4
38-
*.lzh
39-
*.cab
40-
*.arj
41-
*.rpm
42-
*.deb
43-
*.Z
44-
*.lz
45-
*.lzo
46-
*.tar.gz
47-
*.tar.bz2
48-
*.tar.xz
49-
*.tar.zst
27+
*.swp
28+
*.swo
29+
30+
# OS
31+
.DS_Store
32+
Thumbs.db
5033
```
2.08 KB
Binary file not shown.
933 Bytes
Binary file not shown.
1.25 KB
Binary file not shown.
256 Bytes
Binary file not shown.
7.45 KB
Binary file not shown.
2.77 KB
Binary file not shown.
1.62 KB
Binary file not shown.
764 Bytes
Binary file not shown.
1.96 KB
Binary file not shown.

0 commit comments

Comments
 (0)