Skip to content

AttributeError: 'Exposure' object has no attribute 'request' in _batch method #7

Description

@patlewig

In exposure.py line 68, _batch calls self.request(...) but the method on the parent CTXConnection class is named self._request(...).
Traceback:
AttributeError: 'Exposure' object has no attribute 'request'. Did you mean: '_request'?
Fix: Change line 68 from self.request(endpoint=endpoint, query=q) to self._request(endpoint=endpoint, query=q).
I have a branch ready with this fix if a PR would be welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions