We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The function filter_events calls pi_get with a query parameter in the URI:
filter_events
pi_get
def filter_events(self, filter_str: dict = None, cid: int = None) -> ApiResponse: [...] return self._s.pi_get(f'case/timeline/advanced-filter?q={filter_uri}&', cid=cid)
This however lead to an error since pi_get check if a CID is given, and if it is, it includes it in the query, adding a second question mark:
def pi_get(self, uri: str, cid: int = None, no_wrap: bool = False) -> Union[ApiResponse, Response]: if cid: uri = f"{uri}?cid={cid}" [...]
This leads to incorrect URI such has the following (debug output of uri value):
uri
-> return self._pi_request(uri, type='GET', no_wrap=no_wrap) (Pdb) uri 'case/timeline/advanced-filter?q=%7B%7D&?cid=135'
The text was updated successfully, but these errors were encountered:
PR #13 seems to fix this.
Sorry, something went wrong.
No branches or pull requests
The function
filter_events
callspi_get
with a query parameter in the URI:This however lead to an error since pi_get check if a CID is given, and if it is, it includes it in the query, adding a second question mark:
This leads to incorrect URI such has the following (debug output of
uri
value):The text was updated successfully, but these errors were encountered: