File tree 7 files changed +57
-57
lines changed
7 files changed +57
-57
lines changed Original file line number Diff line number Diff line change @@ -318,11 +318,11 @@ sure to generate valid notebooks.
318
318
319
319
## 5.0.8
320
320
321
- - Add optional support for using \ [ fastjsonschema\ ] {.title-ref} as the
321
+ - Add optional support for using [ fastjsonschema] {.title-ref} as the
322
322
JSON validation library. To enable fast validation, install
323
- \ [ fastjsonschema\ ] {.title-ref} and set the environment variable
324
- \ [ NBFORMAT_VALIDATOR\ ] {.title-ref} to the value
325
- \ [ fastjsonschema\ ] {.title-ref}.
323
+ [ fastjsonschema] {.title-ref} and set the environment variable
324
+ [ NBFORMAT_VALIDATOR] {.title-ref} to the value
325
+ [ fastjsonschema] {.title-ref}.
326
326
327
327
## 5.0.7
328
328
@@ -397,7 +397,7 @@ sure to generate valid notebooks.
397
397
database.
398
398
- Dict-like objects added to NotebookNode attributes are now
399
399
transformed to be NotebookNode objects; transformation also works
400
- for \ [ .update()\ ] {.title-ref}.
400
+ for [ .update()] {.title-ref}.
401
401
402
402
## 4.3
403
403
Original file line number Diff line number Diff line change 16
16
from .sentinel import Sentinel
17
17
18
18
__all__ = [
19
- "versions" ,
20
- "validate" ,
19
+ "NO_CONVERT" ,
20
+ "NBFormatError" ,
21
+ "NotebookNode" ,
22
+ "Sentinel" ,
21
23
"ValidationError" ,
24
+ "__version__" ,
22
25
"convert" ,
23
- "from_dict" ,
24
- "NotebookNode" ,
25
26
"current_nbformat" ,
26
27
"current_nbformat_minor" ,
27
- "NBFormatError" ,
28
- "NO_CONVERT" ,
29
- "reads" ,
28
+ "from_dict" ,
30
29
"read" ,
31
- "writes " ,
32
- "write " ,
30
+ "reads " ,
31
+ "validate " ,
33
32
"version_info" ,
34
- "__version__" ,
35
- "Sentinel" ,
33
+ "versions" ,
34
+ "write" ,
35
+ "writes" ,
36
36
]
37
37
38
38
versions = {
Original file line number Diff line number Diff line change 47
47
)
48
48
49
49
__all__ = [
50
+ "NBFormatError" ,
50
51
"NotebookNode" ,
52
+ "convert" ,
53
+ "nbformat" ,
54
+ "nbformat_minor" ,
55
+ "nbformat_schema" ,
56
+ "new_author" ,
51
57
"new_code_cell" ,
52
- "new_text_cell" ,
58
+ "new_heading_cell" ,
59
+ "new_metadata" ,
53
60
"new_notebook" ,
54
61
"new_output" ,
62
+ "new_text_cell" ,
55
63
"new_worksheet" ,
56
64
"parse_filename" ,
57
- "new_metadata" ,
58
- "new_author" ,
59
- "new_heading_cell" ,
60
- "nbformat" ,
61
- "nbformat_minor" ,
62
- "nbformat_schema" ,
63
- "to_notebook_json" ,
64
- "convert" ,
65
- "validate" ,
66
- "NBFormatError" ,
67
65
"parse_py" ,
66
+ "read" ,
67
+ "reads" ,
68
68
"reads_json" ,
69
- "writes_json" ,
70
69
"reads_py" ,
71
- "writes_py" ,
72
- "reads" ,
73
- "writes" ,
74
- "read" ,
70
+ "to_notebook_json" ,
71
+ "validate" ,
75
72
"write" ,
73
+ "writes" ,
74
+ "writes_json" ,
75
+ "writes_py" ,
76
76
]
77
77
78
78
current_nbformat = nbformat
Original file line number Diff line number Diff line change 16
16
from jsonschema .exceptions import ErrorTree , ValidationError
17
17
18
18
__all__ = [
19
- "ValidationError" ,
20
- "JsonSchemaValidator" ,
19
+ "VALIDATORS" ,
21
20
"FastJsonSchemaValidator" ,
21
+ "JsonSchemaValidator" ,
22
+ "ValidationError" ,
22
23
"get_current_validator" ,
23
- "VALIDATORS" ,
24
24
]
25
25
26
26
Original file line number Diff line number Diff line change 6
6
7
7
__all__ = [
8
8
"NotebookNode" ,
9
+ "downgrade" ,
10
+ "nbformat" ,
11
+ "nbformat_minor" ,
12
+ "nbformat_schema" ,
13
+ "new_author" ,
9
14
"new_code_cell" ,
10
- "new_text_cell" ,
15
+ "new_heading_cell" ,
16
+ "new_metadata" ,
11
17
"new_notebook" ,
12
18
"new_output" ,
19
+ "new_text_cell" ,
13
20
"new_worksheet" ,
14
- "new_metadata" ,
15
- "new_author" ,
16
- "new_heading_cell" ,
17
- "nbformat" ,
18
- "nbformat_minor" ,
19
- "nbformat_schema" ,
20
- "reads_json" ,
21
- "writes_json" ,
21
+ "parse_filename" ,
22
22
"read_json" ,
23
- "write_json" ,
24
- "to_notebook_json" ,
25
- "reads_py" ,
26
- "writes_py" ,
27
23
"read_py" ,
28
- "write_py" ,
24
+ "reads_json" ,
25
+ "reads_py" ,
26
+ "to_notebook_json" ,
29
27
"to_notebook_py" ,
30
- "downgrade" ,
31
28
"upgrade" ,
32
- "parse_filename" ,
29
+ "write_json" ,
30
+ "write_py" ,
31
+ "writes_json" ,
32
+ "writes_py" ,
33
33
]
34
34
35
35
import os
Original file line number Diff line number Diff line change 5
5
from __future__ import annotations
6
6
7
7
__all__ = [
8
+ "downgrade" ,
8
9
"nbformat" ,
9
10
"nbformat_minor" ,
10
11
"nbformat_schema" ,
11
12
"new_code_cell" ,
12
13
"new_markdown_cell" ,
13
- "new_raw_cell" ,
14
14
"new_notebook" ,
15
15
"new_output" ,
16
+ "new_raw_cell" ,
16
17
"output_from_msg" ,
17
18
"reads" ,
18
- "writes" ,
19
19
"to_notebook" ,
20
- "downgrade" ,
21
20
"upgrade" ,
21
+ "writes" ,
22
22
]
23
23
24
24
from .convert import downgrade , upgrade
Original file line number Diff line number Diff line change 23
23
24
24
25
25
__all__ = [
26
+ "NotebookValidationError" ,
26
27
"ValidationError" ,
28
+ "better_validation_error" ,
27
29
"get_validator" ,
28
30
"isvalid" ,
29
- "NotebookValidationError" ,
30
- "better_validation_error" ,
31
+ "iter_validate" ,
31
32
"normalize" ,
32
33
"validate" ,
33
- "iter_validate" ,
34
34
]
35
35
36
36
You can’t perform that action at this time.
0 commit comments