@@ -15,7 +15,7 @@ For internal Equinor users, this package is available through the Komodo distrib
1515 - [ Examples] ( #examples )
1616 - [ search()] ( #search )
1717 - [ searchroot()] ( #searchroot )
18- - [ SumoThinClient ] ( #sumothinclient )
18+ - [ SumoClient ] ( #SumoClient )
1919 - [ Initialization] ( #initialization )
2020 - [ Parameters] ( #parameters )
2121 - [ Methods] ( #methods )
@@ -109,21 +109,21 @@ peesv_objects = sumo.searchroot(
109109)
110110```
111111
112- # SumoThinClient
112+ # SumoClient
113113An ultra thin wrapper class.
114114
115115### Initialization
116116
117117``` python
118- from sumo.wrapper import SumoThinClient
118+ from sumo.wrapper import SumoClient
119119
120- sumo = SumoThinClient (env = " dev" )
120+ sumo = SumoClient (env = " dev" )
121121```
122122
123123### Parameters
124124
125125``` python
126- class SumoThinClient :
126+ class SumoClient :
127127 def __init__ (
128128 self ,
129129 env ,
@@ -143,7 +143,7 @@ class SumoThinClient:
143143If no ` access_token ` is provided, an authentication code flow is triggered to retrieve a token.
144144
145145## Methods
146- ` SumoThinClient ` has one method for each HTTP-method that is used in the sumo-core API. See examples of how to use these methods below.
146+ ` SumoClient ` has one method for each HTTP-method that is used in the sumo-core API. See examples of how to use these methods below.
147147
148148
149149All methods accepts a path argument. Path parameters can be interpolated into the path string. Example:
@@ -154,13 +154,6 @@ object_id = "1234"
154154sumo.get(f " /objects(' { object_id} ') " )
155155```
156156
157- For a full list of available endpoints, visit:
158-
159- - Prod: https://main-sumo-prod.radix.equinor.com/swagger-ui/
160- - Dev: https://main-sumo-dev.radix.equinor.com/swagger-ui/
161- - Test: https://main-sumo-test.radix.equinor.com/swagger-ui/
162- - Preview: https://main-sumo-preview.radix.equinor.com/swagger-ui/
163-
164157### get(path, ** params)
165158Performs a GET-request to sumo-core. Accepts query parameters as keyword arguments.
166159
0 commit comments