Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/fastavro/schema.py: 89%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1try:
2 from . import _schema
3except ImportError:
4 from . import _schema_py as _schema # type: ignore
6from ._schema_common import UnknownType, SchemaParseException
8# Private API
9schema_name = _schema.schema_name # type: ignore
10extract_record_type = _schema.extract_record_type # type: ignore
11extract_logical_type = _schema.extract_logical_type # type: ignore
12is_single_record_union = _schema.is_single_record_union # type: ignore
13is_single_name_union = _schema.is_single_name_union # type: ignore
15# Public API
16load_schema = _schema.load_schema
17parse_schema = _schema.parse_schema
18fullname = _schema.fullname
19expand_schema = _schema.expand_schema
20load_schema_ordered = _schema.load_schema_ordered
21to_parsing_canonical_form = _schema.to_parsing_canonical_form
22FINGERPRINT_ALGORITHMS = _schema.FINGERPRINT_ALGORITHMS
23fingerprint = _schema.fingerprint
25__all__ = [
26 "UnknownType",
27 "load_schema",
28 "SchemaParseException",
29 "parse_schema",
30 "fullname",
31 "expand_schema",
32 "load_schema_ordered",
33 "to_parsing_canonical_form",
34 "FINGERPRINT_ALGORITHMS",
35 "fingerprint",
36]