File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ except Exception as err:
219219``` python
220220def set_api_version (self , api_version = None )
221221```
222- It sets the the Carbone version requested. By default, it is calling the version ` 4 ` of Carbone.
222+ It sets the the Carbone version requested. By default, it is calling the version ` 5 ` of Carbone.
223223
224224* Note:* You can only set a major version of carbone.
225225
@@ -230,7 +230,7 @@ import carbone_sdk
230230csdk = carbone_sdk.CarboneSDK(" your_access_token" )
231231
232232try :
233- csdk.set_api_version(" 4 " )
233+ csdk.set_api_version(" 5 " )
234234except Exception as err:
235235 print (" Something went wrong: {0} " .format(err))
236236```
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ import carbone_sdk
3333# The access token can be passed as an argument to the constructor CarboneSDK
3434# Or by the environment variable "CARBONE_TOKEN", use the command "export CARBONE_TOKEN=secret-token"
3535csdk = carbone_sdk.CarboneSDK(" secret-token" )
36- # Set API version (default : 4 )
37- csdk.set_api_version(" 4 " )
36+ # Set API version (default : 5 )
37+ csdk.set_api_version(" 5 " )
3838# Set API URL for Carbone On-Premise for example (default: "https://api.carbone.io")
3939csdk.set_api_url(" https://api.carbone.io" )
4040
You can’t perform that action at this time.
0 commit comments