Skip to content

dacite 1.9.2

Version history | Download JSON

  • PyPI https://pypi.org/project/dacite/
    Repository https://github.com/konradhalas/dacite

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 78
        "Any" : 4
        "Untyped" : 23
    • 78.1% coverage
    • 74.3% coverage (strict)
    • 105 typable
      • 78 typed
      • 23 untyped
      • 4 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 62
        "classes" : 37
        "other" : 0
    • 28 functions (+0 overloads)
      • 34 parameters
    • 12 classes
      • 21 methods (+0 overloads)
        • 15 parameters
      • 1 properties
    • 9 modules
      • 0 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
dacite.cache 100.0% 100.0% 6 0
dacite.config 100.0% 100.0% 1 1
dacite.core 100.0% 100.0% 4 0
dacite.data 0.0% 0.0% 0 2
dacite.dataclasses 100.0% 85.7% 7 1
dacite.exceptions 72.4% 69.0% 29 0
dacite.frozen_dict 0.0% 0.0% 13 0
dacite.generics 75.0% 62.5% 8 2
dacite.types 100.0% 97.3% 37 2

Incomplete Annotations

dacite.dataclasses (0 missing, 1 any)

Symbol Typable Typed Any
func get_default_value_for_field 3 3 1

dacite.exceptions (8 missing, 1 any)

Symbol Typable Typed Any
attr ForwardReferenceError.message 1 0 0
attr UnexpectedDataError.keys 1 0 0
meth WrongTypeError.init 4 4 1
attr WrongTypeError.field_type 1 0 0
attr WrongTypeError.value 1 0 0
meth DaciteFieldError.init 2 1 0
attr DaciteFieldError.field_path 1 0 0
meth MissingValueError.init 2 1 0
attr StrictUnionMatchError.union_matches 1 0 0

dacite.frozen_dict (13 missing, 0 any)

Symbol Typable Typed Any
meth FrozenDict.init 3 0 0
meth FrozenDict.getitem 2 0 0
meth FrozenDict.contains 2 0 0
meth FrozenDict.copy 2 0 0
meth FrozenDict.iter 1 0 0
meth FrozenDict.len 1 0 0
meth FrozenDict.repr 1 0 0
meth FrozenDict.hash 1 0 0

dacite.generics (2 missing, 1 any)

Symbol Typable Typed Any
func get_concrete_type_hints 4 2 0
func orig 2 2 1

dacite.types (0 missing, 1 any)

Symbol Typable Typed Any
func is_instance 3 3 1

Type-Ignore Comments

Flavor Count
type: ignore 8