Typedpy

Latest version: v2.28.0

Safety actively analyzes 630704 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

2.3.9

75 options to output all errors, instead of failing fast
76 fixed error message formatting
77 make decimal field serializable
78 fix a defect in multiple inheritance

2.3.2

69 allow bound method to be accepted as a value for field of type "Function"
70 allow to ignore assignment of None to a field. Useful when mapping from SQLAlchemy
71 Optional parameter to serializer/deserializer to convert between snake-case field names and camelCase. Useful when mapping between python names and names in Java/ Javascript, which use camelCase names
72 Fix a bug in Structure.fields_by_name() when using the syntax of field annotations.
73 clone a structure with overrides. Useful especially when you have an immutable structure, and you want to create another instance that is similar, but not identical.
74 expose mapping from exception String to a well formed structure for error info. Useful when the calling service/function needs a consistent way of handling errors

2.2.0

67 Add Final class support for Structure. Make all predefined Immutable Fields/Structures Final.
68 Add unique support for both Structure and Field classes. Add "is_unique" optional parameter to Field to achieve the same effect.

2.1.2

2.1.1

65 - Add the following types: Generator, Deque, ImmutableDeque. Also support automatic conversion of collections.deque to a field type.
66 block nested updates of immutables explicitly (raise an exception). For example, if we have m: ImmutableMap[String, Deque], then attempting to update the nested deque values will raise exception. Previously it failed silently, but that's confusing for a developer.

2.1.0

63 Support nullables explicitly, including making it optionals automatically where appropriate
- Bugfix for ImmutableList field type
50 Add tutorial /recipes

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.