Skip to content

Commit

Permalink
Fix small grammar errors (#251)
Browse files Browse the repository at this point in the history
There are three instances where an "an" is used instead of a "a" in fidesctl/src/fidesctl/core/api.py
  • Loading branch information
landunexplored authored Nov 29, 2021
1 parent 2195445 commit 629b102
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fidesctl/src/fidesctl/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def generate_resource_url(
url: str, resource_type: str = "", resource_id: str = "", version: str = "v1"
) -> str:
"""
Generate an resource's URL using a base url, the resource type and a version.
Generate a resource's URL using a base url, the resource type and a version.
"""
return f"{url}/{resource_type}/{resource_id}"

Expand All @@ -17,7 +17,7 @@ def get(
url: str, resource_type: str, resource_id: str, headers: Dict[str, str]
) -> requests.Response:
"""
Get an resource by its id.
Get a resource by its id.
"""
resource_url = generate_resource_url(url, resource_type, resource_id)
return requests.get(resource_url, headers=headers)
Expand All @@ -44,7 +44,7 @@ def delete(
url: str, resource_type: str, resource_id: str, headers: Dict[str, str]
) -> requests.Response:
"""
Delete an resource by its id.
Delete a resource by its id.
"""
resource_url = generate_resource_url(url, resource_type, resource_id)
return requests.delete(resource_url, headers=headers)
Expand Down

0 comments on commit 629b102

Please sign in to comment.