Project

Profile

Help

Issue #3856

closed

In the bindings, href docstring is ambiguous and sometimes has the wrong type

Added by daviddavis over 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings
Sprint:
Sprint 42
Quarter:

Description

Looking at the API bindings:

class RepositoriesApi(object):

    def repositories_versions_create(self, href, data, **kwargs):  # noqa: E501
        """repositories_versions_create  # noqa: E501

        :param str href: A relative URI for the resource. (required)
        :param RepositoryVersion data: (required)
        :return: AsnycOperationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        """
        pass

    def repositories_versions_delete(self, href, **kwargs):  # noqa: E501                               
        """repositories_versions_delete  # noqa: E501                                                   

        :param int href: A relative URI for the resource. (required)                                    
        :return: AsnycOperationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        """

It's not totally clear what href means. Also, for repositories_versions_delete() it says the href type is an int.

Also available in: Atom PDF