@@ -186,7 +186,7 @@ def get_many(self,
186186 if fields :
187187 options ['fields' ] = fields
188188 # Set language for translated fields
189- self .set_options_language (options = options )
189+ self ._set_options_language (options = options )
190190 # Set pagination
191191 self ._set_pagination (options = options ,
192192 limit = limit ,
@@ -255,7 +255,7 @@ def find(self,
255255 if fields :
256256 options ['fields' ] = fields
257257 # Set language for translated fields
258- self .set_options_language (options = options )
258+ self ._set_options_language (options = options )
259259 # Set pagination
260260 self ._set_pagination (options = options ,
261261 limit = limit ,
@@ -292,7 +292,7 @@ def filter(self,
292292 if fields :
293293 options ['fields' ] = fields
294294 # Set language for translated fields
295- self .set_options_language (options = options )
295+ self ._set_options_language (options = options )
296296 # Set pagination
297297 self ._set_pagination (options = options ,
298298 limit = limit ,
@@ -341,7 +341,7 @@ def search(self,
341341 if options is None :
342342 options = {}
343343 # Set language for translated fields
344- self .set_options_language (options = options )
344+ self ._set_options_language (options = options )
345345 # Set pagination
346346 self ._set_pagination (options = options ,
347347 limit = limit ,
@@ -367,7 +367,7 @@ def create(self,
367367 if options is None :
368368 options = {}
369369 # Set language for translated fields
370- self .set_options_language (options = options )
370+ self ._set_options_language (options = options )
371371 # Create data and get results
372372 results = self .api .do_create (values = values ,
373373 options = options )
@@ -388,7 +388,7 @@ def update(self,
388388 if options is None :
389389 options = {}
390390 # Set language for translated fields
391- self .set_options_language (options = options )
391+ self ._set_options_language (options = options )
392392 # Update data and get results
393393 results = self .api .do_update (entity_id = entity_id ,
394394 values = values ,
@@ -412,8 +412,8 @@ def delete(self,
412412 options = options )
413413 return results
414414
415- def set_options_language (self ,
416- options : dict ) -> Optional [str ]:
415+ def _set_options_language (self ,
416+ options : dict ) -> Optional [str ]:
417417 """
418418 Apply the default language context to the options
419419
@@ -483,7 +483,7 @@ def get_fields(self,
483483 if attributes is not None :
484484 options ['attributes' ] = attributes
485485 # Set language for translated fields
486- self .set_options_language (options = options )
486+ self ._set_options_language (options = options )
487487 # Request data and get results
488488 results = self .api .do_fields_get (fields = fields ,
489489 options = options )
0 commit comments