You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -23,6 +23,9 @@ Create an async callback method that `yield`s file info dictionaries. For exampl
23
23
24
24
Yield the results as you find them - ServiceX will actually start processing the files before your DID lookup is finished using this scheme. Fill in `file_size` in bytes and number of events in `file_events` if you know them.
25
25
26
+
`info` contains a dict of various info about the request that asked for this DID:
27
+
*`request-id` The request id that has this DID asscoiated. For logging.
28
+
26
29
In your main script, start off the DID finder with a call similar to:
This script should be run in your docker container at start up. Once running, if a user submits a query with the DID name `my_finder://dataset1`, then your callback will be called with `did_name` set to `dataset1`.
33
36
37
+
### Proper Logging
38
+
39
+
You might not think logging is important, but... k8... blah blah
0 commit comments