@@ -242,12 +242,6 @@ class HttpMethod(Enum):
242
242
243
243
This enum defines the standard HTTP methods that can be used when making requests
244
244
to the Harmony API.
245
-
246
- Attributes:
247
- GET (str): The HTTP GET method, used for retrieving resources.
248
- PUT (str): The HTTP PUT method, used for updating or replacing resources.
249
- POST (str): The HTTP POST method, used for creating new resources.
250
- DELETE (str): The HTTP DELETE method, used for removing resources.
251
245
"""
252
246
GET = "GET"
253
247
PUT = "PUT"
@@ -557,13 +551,6 @@ class CapabilitiesRequest(BaseRequest):
557
551
capabilities_version (str, optional): The version of the collection
558
552
capabilities request API.
559
553
560
- Attributes:
561
- collection_id (str or None): The CMR collection ID.
562
- short_name (str or None): The short name of the CMR collection.
563
- capabilities_version (str or None): The version of the capabilities API.
564
- variable_name_to_query_param (dict): Mapping of attribute names to
565
- their corresponding query parameter names.
566
-
567
554
Returns:
568
555
CapabilitiesRequest: An instance of the request configured with
569
556
the provided parameters.
@@ -610,12 +597,6 @@ class LabelsRequest(BaseRequest):
610
597
labels (List[str]): A list of labels to be added or removed.
611
598
job_ids (List[str]): A list of job IDs to which the labels apply.
612
599
613
- Attributes:
614
- labels (List[str]): The labels to be created or deleted.
615
- job_ids (List[str]): The IDs of the jobs associated with the labels.
616
- variable_name_to_query_param (dict): Mapping of attribute names to
617
- their corresponding query parameter names.
618
-
619
600
Returns:
620
601
LabelsRequest: An instance of the request configured with the provided parameters.
621
602
"""
@@ -642,12 +623,7 @@ def error_messages(self) -> List[str]:
642
623
643
624
644
625
class LinkType (Enum ):
645
- """The type of URL to provide when returning links to data.
646
-
647
- s3: Returns an Amazon Web Services (AWS) S3 URL.
648
- http: Returns a standard HTTP URL.
649
- https: Returns a standard HTTPS URL.
650
- """
626
+ """The type of URL to provide when returning links to data."""
651
627
s3 = 's3'
652
628
http = 'http'
653
629
https = 'https'
0 commit comments