MCPcopy
hub / github.com/feast-dev/feast / _get_infra

Method _get_infra

sdk/python/feast/infra/registry/sql.py:1105–1118  ·  view source on GitHub ↗
(self, project: str)

Source from the content-addressed store, hash-verified

1103 )
1104
1105 def _get_infra(self, project: str) -> Infra:
1106 infra_object = self._get_object(
1107 table=managed_infra,
1108 name="infra_obj",
1109 project=project,
1110 proto_class=InfraProto,
1111 python_class=Infra,
1112 id_field_name="infra_name",
1113 proto_field_name="infra_proto",
1114 not_found_exception=None,
1115 )
1116 if infra_object:
1117 return infra_object
1118 return Infra()
1119
1120 def apply_user_metadata(
1121 self,

Callers

nothing calls this directly

Calls 2

_get_objectMethod · 0.95
InfraClass · 0.90

Tested by

no test coverage detected