-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add server async support flags at the [Online/Offline]Store impl level #7
Conversation
…ng (feast-dev#4610) Bumps org.apache.avro:avro from 1.11.3 to 1.11.4. --- updated-dependencies: - dependency-name: org.apache.avro:avro dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@property | ||
def async_supported(self) -> SupportedAsyncMethods: | ||
return SupportedAsyncMethods(read=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default impl of this property has
online:
read: False
write: False
offline:
read: False
write: False
override and mark supported operations as they're added. dynamo support async reads so just set that value.
async_supported = store._get_provider().async_supported | ||
if async_supported.online.read: | ||
|
||
@_post_get_online_features | ||
async def get_online_features(body=Depends(get_body)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build our endpoints based upon the SupportedAsyncMethods
values
f708db9
to
6d494d6
Compare
df8ba6e
to
6ca3b47
Compare
What this PR does / why we need it:
Which issue(s) this PR fixes:
Misc