Skip to content

Commit

Permalink
Generator changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robo-corg committed Mar 27, 2024
1 parent 34b6fb4 commit 651afa1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 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
14 changes: 9 additions & 5 deletions fern/apis/api/generators.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
groups:
local:
python-sdk-local:
generators:
- name: fernapi/fern-python-sdk
version: 0.11.9
version: 0.13.1
config:
improved_imports: true
pydantic_config:
Expand All @@ -15,11 +15,11 @@ groups:
smart-casing: true
output:
location: local-file-system
path: ../../../octoai-python-sdk-fern
path: ../../../generated/octoai-python-sdk-fern
python-sdk:
generators:
- name: fernapi/fern-python-sdk
version: 0.11.9
version: 0.13.1
# output:
# location: pypi
# package-name: "octoai"
Expand All @@ -28,7 +28,11 @@ groups:
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
Expand Down
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "octoai",
"version": "0.19.9"
"version": "0.19.19"
}

0 comments on commit 651afa1

Please sign in to comment.