def resolve_recursive_config_types(self, _graphene_info): return list( map( lambda key: to_config_type(self._config_schema_snapshot, key), get_recursive_type_keys(self._config_type_snap, self._config_schema_snapshot), ))
def assert_inner_types(parent_type, *dagster_types): config_type = resolve_to_config_type(parent_type) config_schema_snapshot = config_schema_snapshot_from_config_type( config_type) all_type_keys = get_recursive_type_keys(snap_from_config_type(config_type), config_schema_snapshot) assert set(all_type_keys) == set( map(lambda x: x.key, map(resolve_to_config_type, dagster_types)))