@@ -37,7 +37,7 @@ def get_first_column_of_attribute_group(self, attribute_group) -> Optional[Colum
3737 -------
3838 Optional[ColumnMetadata]
3939 The column metadata of the first column in the given attribute group. If no column metadata for the attribute group was send None is returned.
40- """
40+ """
4141 if self .has_columns ():
4242 for column in self ._get_columns ():
4343 if column ['attributeGroupName' ] == attribute_group :
@@ -51,7 +51,7 @@ def get_columns_by_attribute_group(self) -> Dict[str, List[ColumnMetadata]]:
5151 -------
5252 Dict[str, List[ColumnMetadata]]
5353 A dictionary where the keys are the attribute group names and values are lists of corresponding column metadata objects.
54- """
54+ """
5555 grouped_columns = {}
5656 columns = self ._get_columns () if self .has_columns () else []
5757 for column in columns :
@@ -69,7 +69,7 @@ def get_columns(self) -> List[ColumnMetadata]:
6969 -------
7070 List[ColumnMetadata]
7171 A list of all column metadata objects.
72- """
72+ """
7373 columns = self ._get_columns () if self .has_columns () else []
7474 return [ColumnMetadata ._from_dict (column ) for column in columns ]
7575
@@ -80,7 +80,7 @@ def get_parameters(self) -> Dict[str, str]:
8080 -------
8181 dict[str, str]
8282 Parameters of the request.
83- """
83+ """
8484 return self ._request_metadata ['parameters' ]
8585
8686 def get_parameter (self , name : str ) -> Optional [str ]:
@@ -107,7 +107,7 @@ def has_columns(self) -> bool:
107107 -------
108108 bool
109109 True if the request has columns with coresponding metadata, False otherwise.
110- """
110+ """
111111 return (len (self ._request_metadata ['dataContainers' ]) > 0
112112 and "columns" in self ._request_metadata ['dataContainers' ][0 ])
113113
0 commit comments