Skip to content

Commit acd535c

Browse files
committed
Rename function to get_component_config
1 parent 987c0df commit acd535c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/source/api_reference/api_project.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ Projects
2626
.. automethod:: superannotate.SAClient.get_project_steps
2727
.. automethod:: superannotate.SAClient.set_project_workflow
2828
.. automethod:: superannotate.SAClient.get_project_workflow
29+
.. automethod:: superannotate.SAClient.get_component_config

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ def get_team_metadata(self):
278278
response = self.controller.get_team()
279279
return TeamSerializer(response.data).serialize()
280280

281-
def get_editor_context(self, project: Union[NotEmptyStr, int], component_id: str):
281+
def get_component_config(self, project: Union[NotEmptyStr, int], component_id: str):
282282
"""
283-
Retrieves the editor context for a given project and component ID.
283+
Retrieves the configuration for a given project and component ID.
284284
285285
:param project: The identifier of the project, which can be a string or an integer representing the project ID.
286286
:type project: Union[str, int]

0 commit comments

Comments
 (0)