Skip to content

Commit

Permalink
Merge branch 'main' into efredin/fern-publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Fredin committed Apr 10, 2024
2 parents 17940ca + d1704e6 commit e949c83
Show file tree
Hide file tree
Showing 4 changed files with 1,256 additions and 1,145 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.2
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 e949c83

Please sign in to comment.