Return True when the feature_store.yaml was generated by the Feast operator. The operator sets provider=local with registry_type=remote, online_store.type=remote, and offline_store.type=remote.
(info: dict[str, Any])
| 158 | |
| 159 | |
| 160 | def _is_operator_client(info: dict[str, Any]) -> bool: |
| 161 | """Return True when the feature_store.yaml was generated by the Feast operator. |
| 162 | |
| 163 | The operator sets provider=local with registry_type=remote, online_store.type=remote, |
| 164 | and offline_store.type=remote. |
| 165 | """ |
| 166 | return ( |
| 167 | info["registry_type"] == "remote" |
| 168 | and info["online_store_type"] == "remote" |
| 169 | and info["offline_store_type"] == "remote" |
| 170 | ) |
| 171 | |
| 172 | |
| 173 | # --------------------------------------------------------------------------- |
no outgoing calls