Commit 90552b3
152 migrate to pydantic v2 (#167)
* style: updated pre commit to latest versions
* feat: first migration to pydantic V2, using pydjantic for settings
* chore: remove unused setup in wsgi/asgi
* feat: use custom mapping for settings
* fix: pydjantic base_dir
* fix: rework pydjantic
* fix: adding prefix to use same database env
* fix: change env to alias for pydantic v2
* test: test logging settings
* fix: include media folder
* fix: fixed dependency conflict
* fix: fixed error for class variable
* chore: adapt pydantic changes in jsonschem parser
* chore(entirety): update requirements
* fix(entirety): error after updating filip
* docs(sdm): examples for tested smart data models with new parser
* fix(entity): invoking of get_context_data
* chore(entity): remove ' from example json schema model
* chore(entirety): update default login_url
* fix(entirety): add work around for conflict of jsonschemaparser
* chore(entity): use default as value while parsing data models
* chore(entirety): update login url
* fix(entirety): default attr value and datetime type
* fix(semantic): migration error
---------
Co-authored-by: Saira Bano <[email protected]>1 parent 739e27e commit 90552b3
File tree
13 files changed
+270
-183
lines changed- app/Entirety
- entirety
- entities
- smartdatamodels/examples
- utils
- docker
13 files changed
+270
-183
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
97 | | - | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | | - | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
126 | | - | |
127 | | - | |
| 130 | + | |
| 131 | + | |
128 | 132 | | |
129 | 133 | | |
130 | | - | |
| 134 | + | |
131 | 135 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | | - | |
16 | | - | |
| 14 | + | |
17 | 15 | | |
0 commit comments