HomePhabricator

Allow custom type_check on PythonObjectType

Authored by max on Oct 27 2019, 12:36 AM.

Description

Allow custom type_check on PythonObjectType

Summary:
This lets users pass a custom type check in place of the default
isinstance check when using the PythonObjectType/as_dagster_type/@as_dagster_type
machinery. Stacked on D1273

Test Plan: Unit

Reviewers: #ft, alangenfeld, schrockn

Reviewed By: #ft, alangenfeld

Differential Revision: https://dagster.phacility.com/D1281

Details

Committed
maxOct 27 2019, 2:04 AM
Reviewer
Restricted Project
Differential Revision
D1281: Allow custom type_check on PythonObjectType
Parents
R1:30f194c7d56d: Improve type inference
Branches
Unknown
Tags
Unknown