Closed sweep-nightly[bot] closed 10 months ago
src/main.py
β
Sandbox logs for
pip install -r requirements.txt
1/1 β (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) ββββββββββββββββββββββββββββββββββββββββ 80.9/80.9 KB 2.1 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) ββββββββββββββββββββββββββββββββββββββ 275.2/275.2 KB 14.3 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ββββββββββββββββββββββββββββββββββββββ 155.3/155.3 KB 27.7 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) ββββββββββββββββββββββββββββββββββββββ 151.4/151.4 KB 26.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
requirements.txt
β
Sandbox logs for
pip install -r requirements.txt
1/1 β (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) ββββββββββββββββββββββββββββββββββββββββ 80.9/80.9 KB 1.7 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) ββββββββββββββββββββββββββββββββββββββ 275.2/275.2 KB 12.4 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ββββββββββββββββββββββββββββββββββββββ 155.3/155.3 KB 16.1 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) ββββββββββββββββββββββββββββββββββββββ 151.4/151.4 KB 21.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
src/main.py
β
Sandbox logs for
pip install -r requirements.txt
1/1 β (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) ββββββββββββββββββββββββββββββββββββββββ 80.9/80.9 KB 2.1 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) ββββββββββββββββββββββββββββββββββββββ 275.2/275.2 KB 14.3 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ββββββββββββββββββββββββββββββββββββββ 155.3/155.3 KB 27.7 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) ββββββββββββββββββββββββββββββββββββββ 151.4/151.4 KB 26.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
src/api.py
β
Sandbox logs for
pip install -r requirements.txt
1/1 β (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) ββββββββββββββββββββββββββββββββββββββββ 80.9/80.9 KB 2.3 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) ββββββββββββββββββββββββββββββββββββββ 275.2/275.2 KB 17.3 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ββββββββββββββββββββββββββββββββββββββ 155.3/155.3 KB 24.1 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) ββββββββββββββββββββββββββββββββββββββ 151.4/151.4 KB 29.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
Description
This PR adds comments and docstrings to the main.py and api.py files in the src directory. The comments and docstrings provide explanations and documentation for the existing code, making it easier for developers to understand and maintain the codebase.
Summary of Changes
Fixes #11.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: