Skip to content

Commit

Permalink
fix: fixed consistency bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jeafreezy committed Aug 24, 2024
1 parent 604234d commit fb2f996
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nigeria_geodata/datasources/grid3.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __find_and_validate_name(self, data_name) -> List[EsriFeatureServiceBasicInf
This method checks if a dataset with the given name exists within the available
Grid3 feature services. If it doesn't exist, it raises a ValueError.
Parameters:
Args:
data_name (str): The name of the dataset to search for.
Returns:
Expand All @@ -122,7 +122,7 @@ def __get_max_features(self, service_url: str) -> int:
This method makes a request to the Grid3 server to count the number of features
in the dataset by performing a statistics query.
Parameters:
Args:
service_url (str): The URL of the feature service to query.
Returns:
Expand Down Expand Up @@ -157,7 +157,7 @@ def list_data(
It can return the information either as a list of `EsriFeatureServiceBasicInfo`
objects or as a pandas DataFrame, depending on the `dataframe` parameter.
Parameters:
Args:
dataframe (bool): If True, returns the information as a pandas DataFrame.
If False, returns a list of `EsriFeatureServiceBasicInfo` objects.
Expand Down Expand Up @@ -194,7 +194,7 @@ def search(
It can return the search results as a list of `EsriFeatureServiceBasicInfo`
objects or as a pandas DataFrame, depending on the `dataframe` parameter.
Parameters:
Args:
query (str): The query string to search for in the dataset names.
dataframe (bool): If True, returns the search results as a pandas DataFrame.
If False, returns a list of `EsriFeatureServiceBasicInfo` objects.
Expand Down Expand Up @@ -244,7 +244,7 @@ def info(
as an `EsriFeatureLayerInfo` object or as a pandas DataFrame, depending on the
`dataframe` parameter.
Parameters:
Args:
data_name (str): The name of the dataset to retrieve information about.
dataframe (bool): If True, returns the information as a pandas DataFrame.
If False, returns an `EsriFeatureLayerInfo` object.
Expand Down Expand Up @@ -311,7 +311,7 @@ def filter(
or area of interest (aoi_geometry). It retrieves the filtered data and can return
it as a GeoDataFrame, a preview map, or as a list of feature dictionaries.
Parameters:
Args:
data_name (str): The name of the dataset to filter.
state (Optional[str]): The name of the Nigerian state to filter by (if applicable).
bbox (Optional[List[float]]): The bounding box to filter by, defined as [xmin, ymin, xmax, ymax].
Expand Down

0 comments on commit fb2f996

Please sign in to comment.