reydb 1.1.36__py3-none-any.whl → 1.1.38__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.
- reydb/rbuild.py +1 -1
- reydb/rconfig.py +4 -4
- {reydb-1.1.36.dist-info → reydb-1.1.38.dist-info}/METADATA +1 -1
- {reydb-1.1.36.dist-info → reydb-1.1.38.dist-info}/RECORD +6 -6
- {reydb-1.1.36.dist-info → reydb-1.1.38.dist-info}/WHEEL +0 -0
- {reydb-1.1.36.dist-info → reydb-1.1.38.dist-info}/licenses/LICENSE +0 -0
reydb/rbuild.py
CHANGED
reydb/rconfig.py
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
"""
|
10
10
|
|
11
11
|
|
12
|
-
from typing import
|
12
|
+
from typing import TypedDict, TypeVar
|
13
13
|
import datetime
|
14
14
|
from datetime import (
|
15
15
|
datetime as Datetime,
|
@@ -17,7 +17,7 @@ from datetime import (
|
|
17
17
|
time as Time,
|
18
18
|
timedelta as Timedelta
|
19
19
|
)
|
20
|
-
from reykit.rbase import throw
|
20
|
+
from reykit.rbase import null, throw
|
21
21
|
|
22
22
|
from .rconn import DatabaseConnection
|
23
23
|
from .rdb import Database
|
@@ -433,10 +433,10 @@ class DatabaseConfig(object):
|
|
433
433
|
"""
|
434
434
|
|
435
435
|
# Get.
|
436
|
-
value = self.get(key)
|
436
|
+
value = self.get(key, null)
|
437
437
|
|
438
438
|
# Check.
|
439
|
-
if value
|
439
|
+
if value == null:
|
440
440
|
throw(KeyError, key)
|
441
441
|
|
442
442
|
return value
|
@@ -1,8 +1,8 @@
|
|
1
1
|
reydb/__init__.py,sha256=SqjJEBMiUMnKkNfmOvw_jprZcj9Edi0jyBKt67xeYUE,544
|
2
2
|
reydb/rall.py,sha256=UWnbtl4oG4YqXyqTMN_5uqE-QqD5nb_-dvarotlTUeU,388
|
3
3
|
reydb/rbase.py,sha256=X8bDBmKyIiLXGvOVnTh5nD0ltkhOPWU6g4BebifOZYY,312
|
4
|
-
reydb/rbuild.py,sha256=
|
5
|
-
reydb/rconfig.py,sha256=
|
4
|
+
reydb/rbuild.py,sha256=nGI25Hoj3iWuyRGJhXQWFNJfq5jASzoGOpJL-B9IwE4,32456
|
5
|
+
reydb/rconfig.py,sha256=7xcgoN9iRwXxQJjy-J5nJxXVWpBDjFlmebAhqgMOlKA,12310
|
6
6
|
reydb/rconn.py,sha256=kdw2xQb0JqSUXM-BD7XfJ-ZqaWHxYkeT8psRhOK43mA,6211
|
7
7
|
reydb/rdb.py,sha256=OQ3ztC4G53usAbocqGwTqo1ry1AIGjoWTN7pn8Pn3Uk,62184
|
8
8
|
reydb/rerror.py,sha256=xHLvRxu8KBvUdfVS7mD906jx9XTQPGwEl7psBLGEZ5w,9966
|
@@ -10,7 +10,7 @@ reydb/rexec.py,sha256=dGdRkG1XR0Z66T0r4nPCSdQzSRWc_Q3t6TPSSrDTIxY,9042
|
|
10
10
|
reydb/rfile.py,sha256=7g6hPBz33p-mkGFc6LEmL2hpFes-LM-AWQ0SxgJe2BI,15254
|
11
11
|
reydb/rinfo.py,sha256=KXTkcpTGAD3p9RVKKcnmc_FjJtiKRPk-K5ZepPOnphQ,15253
|
12
12
|
reydb/rparam.py,sha256=3BGDBD8QshOf2J70ZJ6LJ9PiH-1ZU3ruZwoE0bN6OOw,7017
|
13
|
-
reydb-1.1.
|
14
|
-
reydb-1.1.
|
15
|
-
reydb-1.1.
|
16
|
-
reydb-1.1.
|
13
|
+
reydb-1.1.38.dist-info/METADATA,sha256=rZepbu5fXPQ4IgwbzryzEymQbedw2NvcYi0oJlQnGVI,1550
|
14
|
+
reydb-1.1.38.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
15
|
+
reydb-1.1.38.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
16
|
+
reydb-1.1.38.dist-info/RECORD,,
|
File without changes
|
File without changes
|