-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Support partial path in data
command
#275
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
Conversation
this needs to be re-implemented after #273 is merged in |
b052f0e
to
df2aab3
Compare
df2aab3
to
5d52453
Compare
@dobarx please take a look - there might be a better way to execute data blocks concurrently! |
@@ -280,7 +280,8 @@ func fetchRSSData(ctx context.Context, params *plugin.RetrieveDataParams) (plugi | |||
ctx, cancel := context.WithTimeout(ctx, defaultRequestTimeout) | |||
defer cancel() | |||
|
|||
log.InfoContext(ctx, "Downloading the feed", "feed_url", url) | |||
log = log.With("feed_url", url) | |||
log.InfoContext(ctx, "Downloading the feed") |
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.
an unrelated change, just improving logging
grpc.MaxCallRecvMsgSize(defaultMsgSize), | ||
grpc.MaxCallSendMsgSize(defaultMsgSize), | ||
grpc.MaxCallRecvMsgSize(maxMsgSize), | ||
grpc.MaxCallSendMsgSize(maxMsgSize), |
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.
an unrelated change, bumping a max msg size to 100MB
no idea why codegen check is failing, the command does not produce any changes locally for me :( I think it's some non-determinism in |
Partial path in
data
command enables execution of more than a single data block at a timePossible
path
options:<document-name>.data
-- returns a dict with all data blocks executed<document-name>.data.<data-source>
-- returns a dict with all data blocks of a particular type<document-name>.data.<data-source>.<block-name>
-- returns a dict with a single matching data block