atom.coerced module

class atom.coerced.Coerced(kind, args=None, kwargs=None, *, factory=None, coercer=None)[source]

Bases: atom.catom.Member

A member which will coerce a value to a given instance type.

Unlike Typed or Instance, a Coerced value is not intended to be set to None.