f3-data-models 0.5.5__tar.gz → 0.5.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {f3_data_models-0.5.5 → f3_data_models-0.5.7}/PKG-INFO +1 -1
- {f3_data_models-0.5.5 → f3_data_models-0.5.7}/f3_data_models/models.py +2 -0
- f3_data_models-0.5.7/f3_data_models/testing.py +12 -0
- {f3_data_models-0.5.5 → f3_data_models-0.5.7}/pyproject.toml +1 -1
- f3_data_models-0.5.5/f3_data_models/testing.py +0 -11
- {f3_data_models-0.5.5 → f3_data_models-0.5.7}/README.md +0 -0
- {f3_data_models-0.5.5 → f3_data_models-0.5.7}/f3_data_models/__init__.py +0 -0
- {f3_data_models-0.5.5 → f3_data_models-0.5.7}/f3_data_models/utils.py +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
from f3_data_models.models import User
|
2
|
+
from f3_data_models.utils import DbManager
|
3
|
+
|
4
|
+
|
5
|
+
def test_update_event():
|
6
|
+
records = DbManager.find_records(User, [User.id == 1], joinedloads=[User.home_region_org])
|
7
|
+
print(records)
|
8
|
+
print(records[0].home_region_org)
|
9
|
+
|
10
|
+
|
11
|
+
if __name__ == "__main__":
|
12
|
+
test_update_event()
|
File without changes
|
File without changes
|
File without changes
|