Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 593 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 593 Bytes

Python

Implementation for data types:

  • Bool — represented as bool.
  • Int32 — represented as int.
  • Int64 — represented as int.
  • Float32 — represented as float.
  • Float64 — represented as float.
  • String — represented as str.
  • Option<T> — represented as Optional[T].
  • Vec<T> — represented as List[T].
  • Map<K, V> — represented as Dict[K, V].
  • Struct — represented as a regular class.
  • Enum — represented as a class inheriting IntEnum.
  • OneOf — represented as an abstract class with each variant inheriting from it.