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 CHANGED
@@ -118,7 +118,7 @@ class DatabaseBuild(DatabaseBase):
118
118
  Parameters
119
119
  ----------
120
120
  name : Field name.
121
- type\\_ : Field type.
121
+ type_ : Field type.
122
122
  constraint : Field constraint.
123
123
  comment : Field comment.
124
124
  position : Field position.
reydb/rconfig.py CHANGED
@@ -9,7 +9,7 @@
9
9
  """
10
10
 
11
11
 
12
- from typing import Any, TypedDict, TypeVar
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 is None:
439
+ if value == null:
440
440
  throw(KeyError, key)
441
441
 
442
442
  return value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reydb
3
- Version: 1.1.36
3
+ Version: 1.1.38
4
4
  Summary: Database method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reydb/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -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=s4lLVQONfL5a9B6mw5D7bfbPyJoYNIqBxlas9rCM1Y8,32458
5
- reydb/rconfig.py,sha256=x9NXZ_Z_LjEZH7xHm7mUFv_1Y93Ky50Vx72FRAXu08w,12303
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.36.dist-info/METADATA,sha256=At9eApGRgD86nYSVG-ZWBL8ndc55uPRwc4K0Ex5c7gs,1550
14
- reydb-1.1.36.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- reydb-1.1.36.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
- reydb-1.1.36.dist-info/RECORD,,
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