File tree 6 files changed +7303
-0
lines changed
6 files changed +7303
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : " The version of the python SDK that you would like to release"
8
+ required : true
9
+ type : string
10
+
11
+ jobs :
12
+ fern-check :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout repo
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Install Fern
19
+ run : npm install -g fern-api
20
+
21
+ - name : Check Fern API is valid
22
+ run : fern check
23
+
24
+ fern-generate-pr :
25
+ needs : fern-check
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - name : Checkout repo
29
+ uses : actions/checkout@v4
30
+
31
+ - name : Setup node
32
+ uses : actions/setup-node@v3
33
+
34
+ - name : Download Fern
35
+ run : npm install -g fern-api
36
+
37
+ - name : Publish Python SDK PR
38
+ env :
39
+ FERN_TOKEN : ${{ secrets.FERN_TOKEN }}
40
+ run : fern generate --group python-sdk-staging --version ${{ inputs.version }} --log-level debug
Original file line number Diff line number Diff line change
1
+ instances :
2
+ - url : https://label-studio.docs.buildwithfern.com
3
+ title : Label Studio | Documentation
4
+ navigation :
5
+ - api : API Reference
6
+ snippets :
7
+ python : label-studio-sdk
8
+
9
+ colors :
10
+ accentPrimary : ' #ffffff'
11
+ background : ' #000000'
Original file line number Diff line number Diff line change
1
+ {
2
+ "organization" : " label_studio_sdk" ,
3
+ "version" : " 0.27.0"
4
+ }
Original file line number Diff line number Diff line change
1
+ api :
2
+ path : ./openapi/openapi.yaml
3
+ overrides : ./openapi/overrides.yaml
4
+ settings :
5
+ use-title : false
6
+ default-group : sdk
7
+ groups :
8
+ python-sdk-staging :
9
+ generators :
10
+ - name : fernapi/fern-python-sdk
11
+ version : 2.2.0
12
+ github :
13
+ repository : HumanSignal/label-studio-sdk
14
+ mode : pull-request
15
+ output :
16
+ location : pypi
17
+ package-name : label-studio-sdk
18
+ # output:
19
+ # location: local-file-system
20
+ # path: ../label_studio_python
21
+ config :
22
+ inline_request_params : false
23
+ client_class_name : LabelStudio
You can’t perform that action at this time.
0 commit comments