File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- Copyright 2020 Tian Gao
1
+ Copyright 2020-2021 Tian Gao
2
2
3
3
Licensed under the Apache License, Version 2.0 (the "License");
4
4
you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -184,11 +184,12 @@ that match exclusive check.
184
184
``` objprint ``` formats the output based on some configs
185
185
186
186
* `` config_name(default_value) `` - this config's explanation
187
- * `` depth(6 ) `` - how deep ``` objprint ``` goes into nested data structures
187
+ * `` depth(100 ) `` - how deep ``` objprint ``` goes into nested data structures
188
188
* `` indent(2) `` - the indentation
189
189
* `` width(80) `` - the maximum width a data structure will be presented as a single line
190
190
* `` elements(-1) `` - the maximum number of elements that will be displayed, `` -1 `` means no restriction
191
191
* `` color(True) `` - whether to use colored scheme
192
+ * `` skip_recursion(True) `` - whether skip printing recursive data, which would cause infinite recursion without `` depth `` constraint
192
193
* `` honor_existing(True) `` - whether to use the existing user defined `` __repr__ `` or `` __str__ `` method
193
194
194
195
You can set the configs globally using `` config `` function
@@ -229,6 +230,6 @@ Please send bug reports and feature requests through [github issue tracker](http
229
230
230
231
## License
231
232
232
- Copyright Tian Gao, 2020.
233
+ Copyright Tian Gao, 2020-2021 .
233
234
234
235
Distributed under the terms of the [ Apache 2.0 license] ( https://github.com/gaogaotiantian/objprint/blob/master/LICENSE ) .
Original file line number Diff line number Diff line change 1
1
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2
2
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
3
3
4
- __version__ = "0.1.3 "
4
+ __version__ = "0.1.4 "
5
5
6
6
7
7
from .objprint import ObjPrint
You can’t perform that action at this time.
0 commit comments