autonomous-app 0.3.6__py3-none-any.whl → 0.3.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.
- autonomous/__init__.py +1 -1
- autonomous/db/base/fields.py +2 -5
- autonomous/model/autoattr.py +3 -0
- {autonomous_app-0.3.6.dist-info → autonomous_app-0.3.7.dist-info}/METADATA +1 -1
- {autonomous_app-0.3.6.dist-info → autonomous_app-0.3.7.dist-info}/RECORD +8 -8
- {autonomous_app-0.3.6.dist-info → autonomous_app-0.3.7.dist-info}/LICENSE +0 -0
- {autonomous_app-0.3.6.dist-info → autonomous_app-0.3.7.dist-info}/WHEEL +0 -0
- {autonomous_app-0.3.6.dist-info → autonomous_app-0.3.7.dist-info}/top_level.txt +0 -0
autonomous/__init__.py
CHANGED
autonomous/db/base/fields.py
CHANGED
|
@@ -173,11 +173,8 @@ class BaseField:
|
|
|
173
173
|
|
|
174
174
|
# Get value from document instance if available
|
|
175
175
|
result = instance._data.get(self.name)
|
|
176
|
-
if not
|
|
177
|
-
if self.default
|
|
178
|
-
result = self.default
|
|
179
|
-
if callable(result):
|
|
180
|
-
result = result()
|
|
176
|
+
if result is None and self.default is not None:
|
|
177
|
+
result = self.default() if callable(self.default) else self.default
|
|
181
178
|
return result
|
|
182
179
|
|
|
183
180
|
def __set__(self, instance, value):
|
autonomous/model/autoattr.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: autonomous-app
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
4
4
|
Summary: Containerized application framework built on Flask with additional libraries and tools for rapid development of web applications.
|
|
5
5
|
Author-email: Steven A Moore <samoore@binghamton.edu>
|
|
6
6
|
License: MIT License
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
autonomous/__init__.py,sha256=
|
|
1
|
+
autonomous/__init__.py,sha256=pleIcLkUDNA-NOZk7I3dSRYprDCQkeFqjZX0QCG3fbM,94
|
|
2
2
|
autonomous/cli.py,sha256=z4AaGeWNW_uBLFAHng0J_lfS9v3fXemK1PeT85u4Eo4,42
|
|
3
3
|
autonomous/logger.py,sha256=NQtgEaTWNAWfLSgqSP7ksXj1GpOuCgoUV711kSMm-WA,2022
|
|
4
4
|
autonomous/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -34,7 +34,7 @@ autonomous/db/base/__init__.py,sha256=qbVw-SlbJxlWu8UoPLQcwyRQ7Oso0r3aUit6Jqpoz4
|
|
|
34
34
|
autonomous/db/base/common.py,sha256=YjvDGwmn-QoRplL9Xx2q3eUXEetgo3YureIGxbR36Y8,1540
|
|
35
35
|
autonomous/db/base/datastructures.py,sha256=fcgWe2JsfzTK3jbku3Teh0Iwvn5U5EhCpyeh9xr8bZ0,15850
|
|
36
36
|
autonomous/db/base/document.py,sha256=OM7CeJFZbxha6yKMiMCrHOlTELfOXusqJ8i6FjdFd0c,46652
|
|
37
|
-
autonomous/db/base/fields.py,sha256=
|
|
37
|
+
autonomous/db/base/fields.py,sha256=6hz8w5rrP-piE4Ox_g99Z8rIluqyTgetLngvdhjIgL0,29055
|
|
38
38
|
autonomous/db/base/metaclasses.py,sha256=GVvJYcCxaW1ltEqyH4oNvT_srckEXDSHOtHVU_TAN70,18138
|
|
39
39
|
autonomous/db/base/utils.py,sha256=MH4FuEwh-5IcIinwNTkyTs-PqQLyyiMctcYMsNP85qk,617
|
|
40
40
|
autonomous/db/queryset/__init__.py,sha256=XT3__0BJCvQIQj3S_Mp7mPxNBkfdvXkdw56cg2gc86o,756
|
|
@@ -45,7 +45,7 @@ autonomous/db/queryset/queryset.py,sha256=Xvt1q7Olij9STbJkHm6dKrUIrgyJeY_uwJOYE9
|
|
|
45
45
|
autonomous/db/queryset/transform.py,sha256=UhBdDxYR_bWH0ECnaSw9g9YMwgWRZtsRl_q6PkqO9eY,19615
|
|
46
46
|
autonomous/db/queryset/visitor.py,sha256=AN09lR6hWYUlKJC7G1sktvnWy5hrFnpoQhi58bOXbA4,5470
|
|
47
47
|
autonomous/model/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
48
|
-
autonomous/model/autoattr.py,sha256=
|
|
48
|
+
autonomous/model/autoattr.py,sha256=ncDSV5gFWqgLKzstYxndQWlM911_gxwzPuf74M-UfFk,2252
|
|
49
49
|
autonomous/model/automodel.py,sha256=Q5S84TsIXZT4r0AFQS6OQm4oRIMPWWfuUhD0i5gsm7s,6809
|
|
50
50
|
autonomous/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
51
51
|
autonomous/storage/imagestorage.py,sha256=SmBjBNBlP1ZEjxdOnGVzCHZhbEhMKTUQC2TbpWbejDE,6168
|
|
@@ -53,8 +53,8 @@ autonomous/storage/localstorage.py,sha256=FzrR6O9mMGAZt5dDgqzkeOQVfGRXCygR0kksz2
|
|
|
53
53
|
autonomous/tasks/__init__.py,sha256=pn7iZ14MhcHUdzcLkfkd4-45wgPP0tXahAz_cFgb_Tg,32
|
|
54
54
|
autonomous/tasks/autotask.py,sha256=aK5iapDhgcAic3F5ZYMAhNKJkOepj8yWwbMizKDzUwQ,4153
|
|
55
55
|
autonomous/utils/markdown.py,sha256=tf8vlHARiQO1X_aGbqlYozzP_TbdiDRT9EEP6aFRQo0,2153
|
|
56
|
-
autonomous_app-0.3.
|
|
57
|
-
autonomous_app-0.3.
|
|
58
|
-
autonomous_app-0.3.
|
|
59
|
-
autonomous_app-0.3.
|
|
60
|
-
autonomous_app-0.3.
|
|
56
|
+
autonomous_app-0.3.7.dist-info/LICENSE,sha256=-PHHSuDRkodHo3PEdMkDtoIdmLAOomMq6lsLaOetU8g,1076
|
|
57
|
+
autonomous_app-0.3.7.dist-info/METADATA,sha256=2J4B5989B5ELoWYz0nL9dzRuQquwq1WLhgcZBTpy0GY,4188
|
|
58
|
+
autonomous_app-0.3.7.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
59
|
+
autonomous_app-0.3.7.dist-info/top_level.txt,sha256=ZyxWWDdbvZekF3UFunxl4BQsVDb_FOW3eTn0vun_jb4,11
|
|
60
|
+
autonomous_app-0.3.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|