Skip to content

Commit 4b4cd99

Browse files
Merge pull request #23 from judge0/hermanzdosilovic/no_auth_headers
Don't require auth_headers in judge0.Client
2 parents 3c8efcc + 0955d85 commit 4b4cd99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ This example shows how to use Judge0 Python SDK with your own Judge0 instance.
357357
```python
358358
import judge0
359359

360-
client = judge0.Client("http://127.0.0.1:2358", None)
360+
client = judge0.Client("http://127.0.0.1:2358")
361361

362362
source_code = """
363363
#include <stdio.h>

src/judge0/clients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Client:
3333
def __init__(
3434
self,
3535
endpoint,
36-
auth_headers,
36+
auth_headers=None,
3737
*,
3838
retry_strategy: Optional[RetryStrategy] = None,
3939
) -> None:

0 commit comments

Comments
 (0)