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

Method read_mongo

sdk/python/feast/infra/ray_initializer.py:246–250  ·  view source on GitHub ↗

Read from a MongoDB collection.

(self, uri: str, database: str, collection: str, **kwargs)

Source from the content-addressed store, hash-verified

244 return ray.data.read_webdataset(path, **kwargs)
245
246 def read_mongo(self, uri: str, database: str, collection: str, **kwargs) -> Any:
247 """Read from a MongoDB collection."""
248 return ray.data.read_mongo(
249 uri=uri, database=database, collection=collection, **kwargs
250 )
251
252 def read_sql(self, sql: str, connection_url: str, **kwargs) -> Any:
253 """Read from a SQL database. Builds the connection factory from connection_url."""

Callers 2

_remoteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected