Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ This is how you should do it:

Use our [issue list](../../issues) to report a **bug** or **propose a new feature**, including

### Reporting a **bug report**
### Reporting a **bug report**
- A quick summary and/or background
- Steps to reproduce
- What actually happens

### Adding a **feature request**
### Adding a **feature request**
- Brief description of the feature
- What problem/issue will this solve
- A sort of Definition of Done - "How should it look when finished"

### When submitting a fix using a Pull Request (PR)
- Fork this repository from GitHub
- After you have made the changes, create a pull request (PR)
### When submitting a fix using a Pull Request (PR)
- Fork this repository from GitHub
- After you have made the changes, create a pull request (PR)

We will review the pull request and if it is appropriate and there are no clashes or vulnerabilities, it will be merged to the main code.
We will review the pull request and if it is appropriate and there are no clashes or vulnerabilities, it will be merged to the main code.
10 changes: 10 additions & 0 deletions src/sumo/wrapper/sumo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ def get(self, path: str, params: Optional[Dict] = None) -> httpx.Response:
path,
)
is not None
or re.match(
r"^/tasks\('[0-9a-fA-F-]{8}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{12}'\)/result$", # noqa: E501
path,
)
is not None
):
follow_redirects = True

Expand Down Expand Up @@ -542,6 +547,11 @@ async def get_async(
path,
)
is not None
or re.match(
r"^/tasks\('[0-9a-fA-F-]{8}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{12}'\)/result$", # noqa: E501
path,
)
is not None
):
follow_redirects = True

Expand Down