Skip to content
#

runtime-typechecking

Here are 30 public repositories matching this topic...

corranwebster
corranwebster commented Sep 30, 2020

It is common to have Union traits of the form Union(None, <something>). As a convenience to developers, and following a similar convention in Python's typing module, we should consider having Optional(<something>) as an alternative way of writing Union(None, <something>).

An alternative would be to make allow_none metadata universally accepted across TraitType instances.

A python 3 library providing functions and decorators to automatically generate class code, such as constructor body or properties getters/setters along with optional support of validation contracts on the generated setters. Its objective is to reduce the amount of copy/paste code in your classes - and hence to help reducing human mistakes :).

  • Updated Apr 19, 2021
  • Python

Improve this page

Add a description, image, and links to the runtime-typechecking topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the runtime-typechecking topic, visit your repo's landing page and select "manage topics."

Learn more