edward_chen
05/12/2022, 7:21 AMresponses
class.
I took a look at RESTStream
and it looks like it's based on the requests
class. I tried the following (simplified of course):
from tap.stream import ExampleStream
expected_url = "<http://third_party_url>"
stream = ExampleStream()
stream_url = stream.get_url()
assert stream_url == expected_url
But I hit errors since it looks like it tried to initiate the Stream. Also saw somewhere that I could use validate_config=False
so I did that but it gave me the following error: TypeError: __init__() got an unexpected keyword argument 'validate_config'
.
Any help or direction to point to would be useful! Thank you!