reydb 1.1.29__py3-none-any.whl → 1.1.30__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/rlog.py CHANGED
@@ -245,6 +245,27 @@ class DatabaseLog(DatabaseBase):
245
245
  Returns
246
246
  -------
247
247
  Decorated function or decorator with parameter.
248
+
249
+ Examples
250
+ --------
251
+ Method one.
252
+ >>> @wrap_error
253
+ >>> def func(*args, **kwargs): ...
254
+
255
+ Method two.
256
+ >>> @wrap_error(**wrap_kwargs)
257
+ >>> def func(*args, **kwargs): ...
258
+
259
+ Method three.
260
+ >>> def func(*args, **kwargs): ...
261
+ >>> func = wrap_error(func, **wrap_kwargs)
262
+
263
+ Method four.
264
+ >>> def func(*args, **kwargs): ...
265
+ >>> wrap_error = wrap_error(**wrap_kwargs)
266
+ >>> func = wrap_error(func)
267
+
268
+ >>> func(*args, **kwargs)
248
269
  """
249
270
 
250
271
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reydb
3
- Version: 1.1.29
3
+ Version: 1.1.30
4
4
  Summary: Database method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reydb/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -7,9 +7,9 @@ reydb/rdb.py,sha256=hjWwB778jxBoTgx2lgs6n1NZMJA0Hbg4HHdXE57hZiY,61841
7
7
  reydb/rexec.py,sha256=dGdRkG1XR0Z66T0r4nPCSdQzSRWc_Q3t6TPSSrDTIxY,9042
8
8
  reydb/rfile.py,sha256=7g6hPBz33p-mkGFc6LEmL2hpFes-LM-AWQ0SxgJe2BI,15254
9
9
  reydb/rinfo.py,sha256=KXTkcpTGAD3p9RVKKcnmc_FjJtiKRPk-K5ZepPOnphQ,15253
10
- reydb/rlog.py,sha256=P1Y0Ci_RJz4vZrAf9f2ojWFRSV34Wf8ixoWXOc8-3dU,8862
10
+ reydb/rlog.py,sha256=kwwdOV3RODlfw4u8yzSX6oyh0o5pDXAdDGbogNdx5ds,9412
11
11
  reydb/rparam.py,sha256=3BGDBD8QshOf2J70ZJ6LJ9PiH-1ZU3ruZwoE0bN6OOw,7017
12
- reydb-1.1.29.dist-info/METADATA,sha256=c0VyVKFNb7Xj6zoTx927oHRz48p5g-I9XeQoyzlV--4,1550
13
- reydb-1.1.29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- reydb-1.1.29.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
15
- reydb-1.1.29.dist-info/RECORD,,
12
+ reydb-1.1.30.dist-info/METADATA,sha256=_OlavbtH-_7gy5zv7VSwLh1ObfaKMmpHdnx5N_ZR_H4,1550
13
+ reydb-1.1.30.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ reydb-1.1.30.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
15
+ reydb-1.1.30.dist-info/RECORD,,
File without changes