Commit feca5b9
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
- src
- __pycache__
- core
- __pycache__
- bootstrap/__pycache__
- config/__pycache__
- database
- __pycache__
- postgres/__pycache__
- redis/__pycache__
- dependency/__pycache__
- email
- __pycache__
- providers/__pycache__
- events/__pycache__
- routers
- __pycache__
- api/__pycache__
- schemas/__pycache__
- security
- __pycache__
- infrastructure
- models/__pycache__
- repositories/__pycache__
- modules
- authorization
- __pycache__
- domain
- __pycache__
- entities/__pycache__
- services/__pycache__
- infrastructure
- models
- __pycache__
- repositories/__pycache__
- services/__pycache__
- presentation
- __pycache__
- routers/__pycache__
- schema/__pycache__
- todo
- __pycache__
- application
- create_todo/__pycache__
- delete_todo/__pycache__
- detail_todo/__pycache__
- list_todo/__pycache__
- update_todo/__pycache__
- domain
- entities/__pycache__
- exceptions/__pycache__
- repositories/__pycache__
- infrastructure
- models/__pycache__
- repositories/__pycache__
- presentation
- __pycache__
- routers/__pycache__
- schemas/__pycache__
- user
- __pycache__
- application
- auth
- login_user/__pycache__
- logout_user/__pycache__
- refresh_token/__pycache__
- register_user/__pycache__
- detail_user/__pycache__
- events/emails/__pycache__
- domain
- entities/__pycache__
- events/emails/__pycache__
- exceptions/__pycache__
- repositories/__pycache__
- infrastructure
- models
- __pycache__
- repositories
- __pycache__
- presentation
- __pycache__
- routers/__pycache__
- schemas/__pycache__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
14 | 25 | | |
15 | 26 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
50 | 33 | | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments