MCPcopy Create free account
hub / github.com/feast-dev/feast / update_infra

Method update_infra

sdk/python/feast/infra/registry/sql.py:1095–1103  ·  view source on GitHub ↗
(self, infra: Infra, project: str, commit: bool = True)

Source from the content-addressed store, hash-verified

1093 )
1094
1095 def update_infra(self, infra: Infra, project: str, commit: bool = True):
1096 self._apply_object(
1097 table=managed_infra,
1098 project=project,
1099 id_field_name="infra_name",
1100 obj=infra,
1101 proto_field_name="infra_proto",
1102 name="infra_obj",
1103 )
1104
1105 def _get_infra(self, project: str) -> Infra:
1106 infra_object = self._get_object(

Callers

nothing calls this directly

Calls 1

_apply_objectMethod · 0.95

Tested by

no test coverage detected