Skip to content

Commit

Permalink
docs: docstrings for attribute_feature.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pbullhove committed Aug 21, 2023
1 parent 8a81a6e commit 219748f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/features/attribute/attribute_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@
)
@create_response(JSONResponse)
def get_attribute(address: str, user: User = Depends(auth_w_jwt_or_pat)):
"""
Fetch the attribute from a address.
"""Fetch the BlueprintAttribute which is the container for the addressed object.
This endpoint is used for fetching a BlueprintAttribute in which the addressed entity is contained.
Args:
- address (str): The address to the entity.
- user (User): The authenticated user accessing the endpoint, automatically generated from provided bearer token or Access-Key.
Returns:
- dict: The blueprint-attribute object.
"""
return get_attribute_use_case(user=user, address=address)

0 comments on commit 219748f

Please sign in to comment.