Skip to content

Commit

Permalink
data on error
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-ya committed May 5, 2024
1 parent 2834bae commit 43ea2b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions outpostkit/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class Endpoint(Namespace):
def __init__(
self,
client: Client,
entity: Optional[str],
name: Optional[str],
entity: Optional[str] = None,
name: Optional[str] = None,
full_name: Optional[str] = None,
) -> None:
if name and entity:
Expand All @@ -63,7 +63,7 @@ def __init__(
assert len(_split) == 2, "Invalid Full Name"
self.entity = _split[0]
self.name = _split[1]
self.fullName = self.fullName
self.fullName = full_name
else:
raise OutpostError("Please provide identifiable information.")

Expand Down

0 comments on commit 43ea2b5

Please sign in to comment.