Preserves Schema
This is an implementation of Preserves Schema for Python 3.
TODO
meta = load_schema_file(__metaschema_filename).schema
module-attribute
TODO
Compiler()
TODO
Source code in preserves/schema.py
470 471 |
|
Definition(*args, **kwargs)
Bases: SchemaObject
TODO
Source code in preserves/schema.py
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 |
|
Enumeration()
Bases: SchemaObject
TODO
Source code in preserves/schema.py
206 207 |
|
Namespace(prefix)
TODO
Source code in preserves/schema.py
447 448 |
|
SchemaDecodeFailed(cls, p, v, failures=None)
Bases: ValueError
TODO
Source code in preserves/schema.py
43 44 45 46 47 48 |
|
SchemaObject
TODO
__preserve__()
TODO
Source code in preserves/schema.py
184 185 186 |
|
decode(v)
classmethod
TODO
Source code in preserves/schema.py
94 95 96 97 |
|
try_decode(v)
classmethod
TODO
Source code in preserves/schema.py
99 100 101 102 103 104 105 |
|
encode(p, v)
TODO
Source code in preserves/schema.py
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
|
extend(cls)
TODO
Source code in preserves/schema.py
510 511 512 513 514 515 |
|
load_schema_file(filename)
TODO
Source code in preserves/schema.py
503 504 505 506 507 |
|
Last update:
March 16, 2023
Created: March 16, 2023
Created: March 16, 2023