Skip to content

Commit cbf71fe

Browse files
[Doc]: fixing 404 error in README.md + some typos (#455)
1 parent 552bb78 commit cbf71fe

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ runpod.serverless.start({"handler": is_even})
9696

9797
Make sure that this file is ran when your container starts. This can be accomplished by calling it in the docker command when you set up a template at [console.runpod.io/serverless/user/templates](https://console.runpod.io/serverless/user/templates) or by setting it as the default command in your Dockerfile.
9898

99-
See our [blog post](https://www.runpod.io/blog/serverless-create-a-basic-api) for creating a basic Serverless API, or view the [details docs](https://docs.runpod.io/serverless-ai/custom-apis) for more information.
99+
See our [blog post](https://www.runpod.io/blog/build-basic-serverless-api) for creating a basic Serverless API, or view the [details docs](https://docs.runpod.io/serverless-ai/custom-apis) for more information.
100100

101101
### Local Test Worker
102102

docs/serverless/worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The Serverless Worker
22

3-
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.
3+
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

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

examples/serverless/simple_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
""" Simple Handler
22
3-
To setup a local API server, run the following command:
3+
To set up a local API server, run the following command:
44
python simple_handler.py --rp_serve_api
55
"""
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Similar to .gitignore
2-
# Matches will not be synce to the development pod or cause the development pod to reload.
2+
# Matches will not be synced to the development pod or cause the development pod to reload.

runpod/serverless/utils/rp_download.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,17 @@ def file(file_url: str) -> dict:
141141
output_file.write(download_response.content)
142142

143143
if file_type == "zip":
144-
unziped_directory = os.path.join("job_files", file_name)
145-
os.makedirs(unziped_directory, exist_ok=True)
144+
unzipped_directory = os.path.join("job_files", file_name)
145+
os.makedirs(unzipped_directory, exist_ok=True)
146146
with zipfile.ZipFile(output_file_path, "r") as zip_ref:
147-
zip_ref.extractall(unziped_directory)
148-
unziped_directory = os.path.abspath(unziped_directory)
147+
zip_ref.extractall(unzipped_directory)
148+
unzipped_directory = os.path.abspath(unzipped_directory)
149149
else:
150-
unziped_directory = None
150+
unzipped_directory = None
151151

152152
return {
153153
"file_path": os.path.abspath(output_file_path),
154154
"type": file_type,
155155
"original_name": original_file_name,
156-
"extracted_path": unziped_directory,
156+
"extracted_path": unzipped_directory,
157157
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
runpod-python | setup.py
3-
Called to setup the runpod-python package.
3+
Called to set up the runpod-python package.
44
"""
55

66
from setuptools import find_packages, setup

tests/test_api/test_ctl_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def test_create_container_registry_auth(self, mock_run_graphql_query):
384384
"""
385385
Tests create_container_registry_auth by mocking the run_graphql_query function
386386
"""
387-
# Setup the mock to return a predefined response
387+
# Set up the mock to return a predefined response
388388
mock_run_graphql_query.return_value = {
389389
"data": {
390390
"saveRegistryAuth": {"id": "REGISTRY_AUTH_ID", "name": "REGISTRY_NAME"}

0 commit comments

Comments
 (0)