-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: Request data api update #2488
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
Changes from 1 commit
7cea469
7b7395c
945e0f8
19158f8
b284d5f
c90a224
a362e9f
f3c9d7a
b442599
af8e98f
b28932d
9ecf9c8
61230c8
340b98a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Signed-off-by: Kevin Zhang <kzhang@tecton.ai> Signed-off-by: Author <kzhang@tecton.ai> Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,6 @@ | |
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| import warnings | ||
| import enum | ||
| import warnings | ||
| from abc import ABC, abstractmethod | ||
|
|
@@ -421,6 +420,7 @@ def source_datatype_to_feast_value_type() -> Callable[[str], ValueType]: | |
| def get_table_query_string(self) -> str: | ||
| raise NotImplementedError | ||
|
|
||
|
|
||
| class RequestSource(DataSource): | ||
| """ | ||
| RequestSource that can be used to provide input features for on demand transforms | ||
|
|
@@ -494,10 +494,13 @@ def get_table_query_string(self) -> str: | |
| def source_datatype_to_feast_value_type() -> Callable[[str], ValueType]: | ||
| raise NotImplementedError | ||
|
|
||
|
|
||
| class RequestDataSource(RequestSource): | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you also keep a test for
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup Added. |
||
| def __init__(self, *args, **kwargs): | ||
| warnings.warn("The 'RequestDataSource' class is deprecated and was renamed to RequestSource. Please use RequestSource instead.", | ||
| DeprecationWarning) | ||
| warnings.warn( | ||
| "The 'RequestDataSource' class is deprecated and was renamed to RequestSource. Please use RequestSource instead.", | ||
|
kevjumba marked this conversation as resolved.
Outdated
|
||
| DeprecationWarning, | ||
| ) | ||
| RequestSource.__init__(*args, **kwargs) | ||
|
|
||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.