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

Method with_async_support

sdk/python/tests/foo_provider.py:38–49  ·  view source on GitHub ↗
(online_read=False, online_write=False)

Source from the content-addressed store, hash-verified

36class FooProvider(Provider):
37 @staticmethod
38 def with_async_support(online_read=False, online_write=False):
39 class _FooProvider(FooProvider):
40 @property
41 def async_supported(self):
42 return ProviderAsyncMethods(
43 online=SupportedAsyncMethods(
44 read=online_read,
45 write=online_write,
46 )
47 )
48
49 return _FooProvider(None)
50
51 def __init__(self, config: RepoConfig):
52 pass

Callers 2

builderFunction · 0.80
builderMethod · 0.80

Calls 1

_FooProviderClass · 0.85

Tested by 2

builderFunction · 0.64
builderMethod · 0.64