src/noos_tf/client.py
def update_variable(self, variable_id: str, value: str) -> None:
        """Update the value of a variable stored onto a given workspace for a organization."""
        data = {
            "data": {
                "type": "vars",
                "id": variable_id,
                "attributes": {"value": value},
            }
        }
        self.patch(
            path=f"v2/vars/{variable_id}",
            data=data,
            statuses=(http_client.OK,),
        )
Update the value of a variable stored onto a given workspace for a organization.
Update the value of a variable stored onto a given workspace for a organization.
Update the value of a variable stored onto a given workspace for a organization .
def update_variable(self, variable_id: str, value: str) -> None:
        data = {
            "data": {
                "type": "vars",
                "id": variable_id,
                "attributes": {"value": value},
            }
        }
        self.patch(
            path=f"v2/vars/{variable_id}",
            data=data,
            statuses=(http_client.OK,),
        )
def update_variable ( self , variable_id : str , value : str ) -> None : data = { "data" : { "type" : "vars" , "id" : variable_id , "attributes" : { "value" : value } , } } self . patch ( path = f"v2/vars/{variable_id}" , data = data , statuses = ( http_client . OK , ) , )
Update the value of a variable stored onto a given workspace for a organization.
Update the value of a variable stored onto a given workspace for a organization .
"""Update the value of a variable stored onto a given workspace for a organization."""
self
variable_id
str
value
str