Skip to content

Commit 552bb78

Browse files
[Doc]: fixing some typos (#454)
1 parent 21c5b74 commit 552bb78

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/serverless/worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Both Runpod official endpoints as well as custom built endpoints function by means of a worker that fetches available jobs, passes them into a handler and then returns the output.
44

5-
A worker entry point is a python file containing the command `runpod.serverless.start(config)`. An minimal worker file is shown below:
5+
A worker entry point is a python file containing the command `runpod.serverless.start(config)`. A minimal worker file is shown below:
66

77
```python
88
import runpod

docs/serverless/worker_realtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ A worker will be launched as a realtime worker if the `RUNPOD_REALTIME_PORT` env
1010

1111
### Concurrent Requests
1212

13-
By default the realtime worker will only process one request at a time. This can be changed by setting the `RUNPOD_REALTIME_CONCURRENCY` environment variable. This variable should be set to the number of concurrent requests that should be processed.
13+
By default, the realtime worker will only process one request at a time. This can be changed by setting the `RUNPOD_REALTIME_CONCURRENCY` environment variable. This variable should be set to the number of concurrent requests that should be processed.

runpod/endpoint/asyncio/asyncio_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, endpoint_id: str, job_id: str, session: ClientSession, header
3636
self.job_output = None
3737

3838
async def _fetch_job(self, source: str = "status") -> Dict[str, Any]:
39-
"""Returns the raw json of the status, reaises an exception if invalid.
39+
"""Returns the raw json of the status, raises an exception if invalid.
4040
4141
Args:
4242
source: The URL source path of the job status.

runpod/error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
runpd | error.py
2+
runpod | error.py
33
44
This file contains the error classes for the runpod package.
55
"""

tests/test_serverless/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" Alow serverless tests to be run from the command line."""
1+
""" Allow serverless tests to be run from the command line."""

tests/test_serverless/test_modules/test_logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ def test_default_log_level(self):
2020
"""
2121
Tests that the default log level is DEBUG
2222
"""
23-
defult_logger = rp_logger.RunPodLogger()
23+
default_logger = rp_logger.RunPodLogger()
2424

25-
self.assertEqual(defult_logger.level, "DEBUG")
25+
self.assertEqual(default_logger.level, "DEBUG")
2626

2727
def test_singleton(self):
2828
"""

0 commit comments

Comments
 (0)