def create_version(self, project_id_or_key, version_name, extra_request_params={}):
        """
        client = BacklogClient("your_space_name", "your_api_key")

        client.create_version("YOUR_PROJECT",
                              "VERSION_NAME",
                              {"description": "version description"})
        """
        request_params = extra_request_params
        request_params["name"] = version_name
        return self.do("POST", "projects/{project_id_or_key}/versions",
                       url_params={"project_id_or_key": project_id_or_key},
                       request_params=request_params,
                       )
def create_version ( self , project_id_or_key , version_name , extra_request_params = { } ) : request_params = extra_request_params request_params [ "name" ] = version_name return self . do ( "POST" , "projects/{project_id_or_key}/versions" , url_params = { "project_id_or_key" : project_id_or_key } , request_params = request_params , )
client = BacklogClient("your_space_name", "your_api_key")

        client.create_version("YOUR_PROJECT",
                              "VERSION_NAME",
                              {"description": "version description"})