f3-data-models 0.5.5__py3-none-any.whl → 0.5.7__py3-none-any.whl
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/models.py +2 -0
- f3_data_models/testing.py +3 -2
- {f3_data_models-0.5.5.dist-info → f3_data_models-0.5.7.dist-info}/METADATA +1 -1
- f3_data_models-0.5.7.dist-info/RECORD +7 -0
- f3_data_models-0.5.5.dist-info/RECORD +0 -7
- {f3_data_models-0.5.5.dist-info → f3_data_models-0.5.7.dist-info}/WHEEL +0 -0
f3_data_models/models.py
CHANGED
f3_data_models/testing.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
from f3_data_models.models import
|
1
|
+
from f3_data_models.models import User
|
2
2
|
from f3_data_models.utils import DbManager
|
3
3
|
|
4
4
|
|
5
5
|
def test_update_event():
|
6
|
-
records = DbManager.find_records(
|
6
|
+
records = DbManager.find_records(User, [User.id == 1], joinedloads=[User.home_region_org])
|
7
7
|
print(records)
|
8
|
+
print(records[0].home_region_org)
|
8
9
|
|
9
10
|
|
10
11
|
if __name__ == "__main__":
|
@@ -0,0 +1,7 @@
|
|
1
|
+
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
f3_data_models/models.py,sha256=Nd57_jd5lkVbTfj2CZ_Eg4AfVVa7QjK86Ko7qYlrT1I,51616
|
3
|
+
f3_data_models/testing.py,sha256=xDTZdEo5BXx8zzXCBsadxtN2wNnK9tj0w_HYL3pFl3A,314
|
4
|
+
f3_data_models/utils.py,sha256=LBNy7BXwRY0tqNKGUBoYi6-1Ch9dSLjGysLoes1Jfys,12083
|
5
|
+
f3_data_models-0.5.7.dist-info/METADATA,sha256=9K6BEPYZ0OIEl41sX7IBZcyjOuUNRPyCVVYJo4CjUvM,2766
|
6
|
+
f3_data_models-0.5.7.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
7
|
+
f3_data_models-0.5.7.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
f3_data_models/models.py,sha256=omQrhckvosTCiYA4uxsx0Wu7hAm69c4MzIVyGq7iWSQ,51523
|
3
|
-
f3_data_models/testing.py,sha256=61-6_uZ99peI_4VInGqTWflxyxF_kzNPW9AQmvrVWco,240
|
4
|
-
f3_data_models/utils.py,sha256=LBNy7BXwRY0tqNKGUBoYi6-1Ch9dSLjGysLoes1Jfys,12083
|
5
|
-
f3_data_models-0.5.5.dist-info/METADATA,sha256=aTlj8od5MtYGICuLN-j16Zx9krObs1-Q_Uglw_BmWW0,2766
|
6
|
-
f3_data_models-0.5.5.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
7
|
-
f3_data_models-0.5.5.dist-info/RECORD,,
|
File without changes
|