Skip to content

Commit e68aa19

Browse files
committed
remove openapi client 😭😭😭😭😭
1 parent a10e18a commit e68aa19

File tree

369 files changed

+416
-36938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

369 files changed

+416
-36938
lines changed

β€Ž.github/workflows/upload-to-pypi.ymlβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
path: .venv
2828
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
2929

30-
- name: Generate OpenAPI client
31-
run: |
32-
make generate-client-from-existing-spec
33-
3430
- name: Install dependencies
3531
run: |
3632
poetry config virtualenvs.in-project true

β€ŽMakefileβ€Ž

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all format lint test tests test_watch integration_tests docker_tests help extended_tests generate-client
1+
.PHONY: all format lint test tests test_watch integration_tests docker_tests help extended_tests
22

33
# Default target executed when no arguments are given to make.
44
all: help
@@ -27,19 +27,10 @@ integration_tests:
2727
install:
2828
poetry install --with quality,tests
2929
poetry run pre-commit install
30-
$(MAKE) generate-client
3130

3231
format:
3332
poetry run pre-commit run --all-files
3433

35-
# OpenAPI Client Generation
36-
37-
generate-client:
38-
python scripts/generate_api_client.py
39-
40-
generate-client-from-existing-spec:
41-
python scripts/generate_api_client.py --skip-spec-download
42-
4334
# Documentation
4435

4536
html:
@@ -57,4 +48,3 @@ help:
5748
@echo 'test_watch - run unit tests in watch mode'
5849
@echo 'extended_tests - run extended tests'
5950
@echo 'integration_tests - run integration tests'
60-
@echo 'generate-client - generate the OpenAPI client'

β€Žmypy.iniβ€Ž

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
11
[mypy]
22
plugins = pydantic.mypy
3-
disallow_untyped_defs = true
4-
5-
[mypy-together.generated.*]
6-
ignore_errors = true
7-
8-
[mypy.tests.*]
9-
ignore_errors = true

β€Žpoetry.lockβ€Ž

Lines changed: 1 addition & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpyproject.tomlβ€Ž

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ classifiers = [
2626
]
2727
repository = "https://github.com/togethercomputer/together-python"
2828
homepage = "https://github.com/togethercomputer/together-python"
29-
packages = [
30-
{ include = "together", from = "src" },
31-
]
3229

3330
[tool.poetry.dependencies]
3431
python = "^3.9"
@@ -43,12 +40,10 @@ filelock = "^3.13.1"
4340
eval-type-backport = ">=0.1.3,<0.3.0"
4441
click = "^8.1.7"
4542
pyarrow = ">=10.0.1"
46-
python-dateutil = "^2.8.2"
4743
numpy = [
4844
{ version = ">=1.23.5", python = "<3.12" },
4945
{ version = ">=1.26.0", python = ">=3.12" },
5046
]
51-
aiohttp-retry = "^2.9.1"
5247
pillow = "^11.1.0"
5348

5449
[tool.poetry.group.quality]
@@ -80,7 +75,6 @@ datasets = ">=2.18,<4.0"
8075
transformers = "^4.39.3"
8176

8277

83-
8478
[tool.poetry.urls]
8579
"Homepage" = "https://github.com/togethercomputer/together-python"
8680
"Bug Tracker" = "https://github.com/togethercomputer/together-python/issues"

β€Žscripts/generate_api_client.pyβ€Ž

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
Β (0)