This is probably more of a py3 class inheritance q...
# singer-tap-development
a
This is probably more of a py3 class inheritance question, but is there a way to use the value of a tap config var in the path of a stream object?
a
For Gitlab and GitHub taps, we use a project ID from settings in the http rest endpoint URLs. Is that what you're looking for?
Hmm.. @aaronsteers so shouldn’t
self.config
be accessible in all my various Stream classes? ie:
Copy code
class MyTap(Tap):
    """tap class."""
    name = "tap-mytap"
    config_jsonschema = th.PropertiesList(
        th.Property(
            "project_id",
            th.StringType,
        ),
    ).to_dict()

class MyBaseStream(RESTStream):
  ...

class MyChildStream(MyBaseStream):
  something = config['project_id']