Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/fastavro/schema.py: 89%

18 statements  

« prev     ^ index     » next       coverage.py v7.2.2, created at 2023-03-26 06:10 +0000

1try: 

2 from . import _schema 

3except ImportError: 

4 from . import _schema_py as _schema # type: ignore 

5 

6from ._schema_common import UnknownType, SchemaParseException 

7 

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_nullable_union = _schema.is_nullable_union # type: ignore 

13 

14# Public API 

15load_schema = _schema.load_schema 

16parse_schema = _schema.parse_schema 

17fullname = _schema.fullname 

18expand_schema = _schema.expand_schema 

19load_schema_ordered = _schema.load_schema_ordered 

20to_parsing_canonical_form = _schema.to_parsing_canonical_form 

21FINGERPRINT_ALGORITHMS = _schema.FINGERPRINT_ALGORITHMS 

22fingerprint = _schema.fingerprint 

23 

24__all__ = [ 

25 "UnknownType", 

26 "load_schema", 

27 "SchemaParseException", 

28 "parse_schema", 

29 "fullname", 

30 "expand_schema", 

31 "load_schema_ordered", 

32 "to_parsing_canonical_form", 

33 "FINGERPRINT_ALGORITHMS", 

34 "fingerprint", 

35]