@@ -76,7 +76,7 @@ def path_to(self, field: str, full: bool = True) -> str:
7676
7777 :param field: the name (including dots if needed) of the field
7878 :param full: whether to prepend the parsed field name to the path or not
79- (default: True)
79+ (default: True)
8080 :return: the path
8181 """
8282 return parsed_path (field , self , full )
@@ -94,7 +94,7 @@ def parsed_path(
9494 :param field: the name (including dots if needed) of the field
9595 :param parsed_type: the parsed type (default: None)
9696 :param full: whether to prepend the parsed field name to the path or not (default:
97- True)
97+ True)
9898 :return: the path
9999 """
100100 if parsed_type is not None :
@@ -166,7 +166,7 @@ def add(self, type_names: str, count: int):
166166 Add the given type count data to this field.
167167
168168 :param type_names: the types this field is seen as a string of their names
169- separated by commas.
169+ separated by commas.
170170 :param count: the number of records with this combination of types
171171 """
172172 self .count += count
@@ -179,7 +179,7 @@ def is_type(self, *data_types: DataType) -> bool:
179179
180180 :param data_types: the data types to be checked
181181 :return: True if the field is an instance of one of the given data types, False
182- if not
182+ if not
183183 """
184184 return any (self .type_counts [data_type ] > 0 for data_type in data_types )
185185
@@ -290,7 +290,7 @@ def add(self, type_names: str, count: int):
290290 Add the given type count data to this field.
291291
292292 :param type_names: the types this field is seen as a string of their names
293- separated by commas.
293+ separated by commas.
294294 :param count: the number of records with this combination of types
295295 """
296296 self .count += count
@@ -303,7 +303,7 @@ def is_type(self, *parsed_types: ParsedType) -> bool:
303303
304304 :param parsed_types: the parsed types to be checked
305305 :return: True if the field is an instance of one of the given parsed types,
306- False if not
306+ False if not
307307 """
308308 return any (self .type_counts [parsed_type ] > 0 for parsed_type in parsed_types )
309309
0 commit comments