Skip to content

Commit

Permalink
Merge pull request #8 from octoml/amcharg/asset-lake-python
Browse files Browse the repository at this point in the history
feat: asset-lake python sdk updates
  • Loading branch information
robo-corg authored Mar 28, 2024
2 parents 79ebd7b + 651afa1 commit 1804f98
Show file tree
Hide file tree
Showing 5 changed files with 1,257 additions and 1,146 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
generated
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
update-asset-lake-schema:
cp ../cheese-pizza/python/asset-lake/asset-lake-api-openapi-3.1.0.json fern/apis/asset-lake/openapi/openapi.json

generate-python-sdk-local:
fern generate --group python-sdk-local --api api
rsync -aP generated/octoai-python-sdk-fern/ ../octoai-python-sdk-fern/src/octoai

.PHONY: update-asset-lake-schema generate-python-sdk-local
29 changes: 25 additions & 4 deletions fern/apis/api/generators.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,43 @@
groups:
python-sdk-local:
generators:
- name: fernapi/fern-python-sdk
version: 0.13.1
config:
improved_imports: true
pydantic_config:
use_str_enums: true
client:
class_name: BaseOctoAI
filename: base_client.py
exported_class_name: OctoAI
exported_filename: client.py
smart-casing: true
output:
location: local-file-system
path: ../../../generated/octoai-python-sdk-fern
python-sdk:
generators:
- name: fernapi/fern-python-sdk
version: 0.11.9
# output:
version: 0.13.1
# output:
# location: pypi
# package-name: "octoai"
# token: ${PYPI_TOKEN}
github:
repository: octoml/octoai-python-sdk-fern
mode: pull-request
config:
client_class_name: OctoAI
client:
class_name: BaseOctoAI
filename: base_client.py
exported_class_name: OctoAI
exported_filename: client.py
improved_imports: true
pydantic_config:
use_str_enums: true
smart-casing: true
ts-sdk:
ts-sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
version: 0.12.9
Expand Down
Loading

0 comments on commit 1804f98

Please sign in to comment.