TypeDAL 3.9.3__py3-none-any.whl → 3.9.4__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.
Potentially problematic release.
This version of TypeDAL might be problematic. Click here for more details.
- typedal/__about__.py +1 -1
- typedal/for_py4web.py +2 -2
- {typedal-3.9.3.dist-info → typedal-3.9.4.dist-info}/METADATA +1 -1
- {typedal-3.9.3.dist-info → typedal-3.9.4.dist-info}/RECORD +6 -6
- {typedal-3.9.3.dist-info → typedal-3.9.4.dist-info}/WHEEL +0 -0
- {typedal-3.9.3.dist-info → typedal-3.9.4.dist-info}/entry_points.txt +0 -0
typedal/__about__.py
CHANGED
typedal/for_py4web.py
CHANGED
|
@@ -24,8 +24,8 @@ class Fixture(_Fixture): # type: ignore
|
|
|
24
24
|
class PY4WEB_DAL_SINGLETON(MetaDAL):
|
|
25
25
|
_instances: typing.ClassVar[typing.MutableMapping[str, AnyType]] = {}
|
|
26
26
|
|
|
27
|
-
def __call__(cls, uri: str, *args: typing.Any, **kwargs: typing.Any) -> AnyType:
|
|
28
|
-
db_uid = kwargs.get("db_uid", hashlib_md5(repr(uri)).hexdigest())
|
|
27
|
+
def __call__(cls, uri: typing.Optional[str] = None, *args: typing.Any, **kwargs: typing.Any) -> AnyType:
|
|
28
|
+
db_uid = kwargs.get("db_uid", hashlib_md5(repr(uri or (args, kwargs))).hexdigest())
|
|
29
29
|
if db_uid not in cls._instances:
|
|
30
30
|
cls._instances[db_uid] = super().__call__(uri, *args, **kwargs)
|
|
31
31
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
typedal/__about__.py,sha256=
|
|
1
|
+
typedal/__about__.py,sha256=583NYmTPDE--uDZNTDHfBV8c7G0SNDrgHFd9WcC4P6c,206
|
|
2
2
|
typedal/__init__.py,sha256=QQpLiVl9w9hm2LBxey49Y_tCF_VB2bScVaS_mCjYy54,366
|
|
3
3
|
typedal/caching.py,sha256=SMcJsahLlZ79yykWCveERFx1ZJUNEKhA9SPmCTIuLp8,11798
|
|
4
4
|
typedal/cli.py,sha256=wzyId6YwRyqfuJ2byxvl6YecDNaKpkLmo-R5HvRuTok,19265
|
|
5
5
|
typedal/config.py,sha256=0qy1zrTUdtmXPM9jHzFnSR1DJsqGJqcdG6pvhzKQHe0,11625
|
|
6
6
|
typedal/core.py,sha256=OBokUmNBvm83REIEKUjjIXna5UWSXC5H8M82LiAag0M,102729
|
|
7
7
|
typedal/fields.py,sha256=A4qt0aK4F_-UeOY-xJ0ObVY-tFEoLFy7TYRMHnp4g6o,6516
|
|
8
|
-
typedal/for_py4web.py,sha256=
|
|
8
|
+
typedal/for_py4web.py,sha256=plb08K6HmxbM1_5GuBFFzovAJIT7Q3g9ocNjUJOBngY,1946
|
|
9
9
|
typedal/for_web2py.py,sha256=xn7zo6ImsmTkH6LacbjLQl2oqyBvP0zLqRxEJvMQk1w,1929
|
|
10
10
|
typedal/helpers.py,sha256=uej96exzJ9qVBd6LudP8uJ_7Cmq6vKraerdKvSRBVjc,8128
|
|
11
11
|
typedal/mixins.py,sha256=6QfeVBAk7J4uHSR82Ek_Bhq43hzxnrmLn6xqxZqYtMk,5757
|
|
@@ -13,7 +13,7 @@ typedal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
13
13
|
typedal/types.py,sha256=1FIgv1s0be0E8r5Wd9E1nvDvK4ETV8u2NlfI7_P6UUY,6752
|
|
14
14
|
typedal/web2py_py4web_shared.py,sha256=VK9T8P5UwVLvfNBsY4q79ANcABv-jX76YKADt1Zz_co,1539
|
|
15
15
|
typedal/serializers/as_json.py,sha256=ffo152W-sARYXym4BzwX709rrO2-QwKk2KunWY8RNl4,2229
|
|
16
|
-
typedal-3.9.
|
|
17
|
-
typedal-3.9.
|
|
18
|
-
typedal-3.9.
|
|
19
|
-
typedal-3.9.
|
|
16
|
+
typedal-3.9.4.dist-info/METADATA,sha256=32kW1RYety5OYw9r2qVjFT0YfUuiSIdo46QfVFWDkNI,10439
|
|
17
|
+
typedal-3.9.4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
18
|
+
typedal-3.9.4.dist-info/entry_points.txt,sha256=m1wqcc_10rHWPdlQ71zEkmJDADUAnZtn7Jac_6mbyUc,44
|
|
19
|
+
typedal-3.9.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|