MCPcopy Index your code
hub / github.com/feast-dev/feast / validate_data_source

Method validate_data_source

sdk/python/feast/offline_server.py:527–535  ·  view source on GitHub ↗
(self, command: dict)

Source from the content-addressed store, hash-verified

525 return data_source
526
527 def validate_data_source(self, command: dict):
528 data_source = OfflineServer._extract_data_source_from_command(command)
529 logger.debug(f"Validating data source {data_source.name}")
530 assert_permissions(data_source, actions=[AuthzedAction.READ_OFFLINE])
531
532 self.offline_store.validate_data_source(
533 config=self.store.config,
534 data_source=data_source,
535 )
536
537 def get_table_column_names_and_types_from_data_source(self, command: dict):
538 data_source = OfflineServer._extract_data_source_from_command(command)

Callers 1

_call_apiMethod · 0.95

Calls 2

assert_permissionsFunction · 0.90

Tested by

no test coverage detected