there has to be a more pythonic way to do this, ri...
# singer-tap-development
s
there has to be a more pythonic way to do this, right?
Copy code
def get_url_params(self, context=None, ...):
    params: dict = {}
    if context:
        if context.get("channel_id"):
            params["channel"] = context["channel_id"]
    return params