Alation / Allie-SDK

A Python library for the Alation REST APIs.
https://alation.github.io/Allie-SDK/
Apache License 2.0
9 stars 2 forks source link

api post for handling data type payloads, e.i. Virtual Data Source and Virtual File System #24

Closed ignaszewskir closed 3 months ago

ignaszewskir commented 3 months ago

Created a new method in async_handler to process the posts that are list independed. Not batching is required and the data argument is of type any. Usefull for virtual data source and file source endpoints where the payload is just a string of jsonl, newline delimited objects.

diethard-at-alation commented 3 months ago

Thanks @ignaszewskir!

  1. Can you please add the comment you posted above as a comment to the new async method that you created so that it helps us remember why we created this one when we take a look at the code in a few months' time?
  2. Since you submitted your PR, the PR that covers returning the full job details for async methods has been accepted. Can you please adjust the code for your new async method to return the job details instead of the boolean value?

Let me know if you have any questions.

ignaszewskir commented 3 months ago

@diethard-at-alation Hey Diethard. I have made the changes you recommended. Please verify and approve.