Skip to content

Commit

Permalink
Wrong return type
Browse files Browse the repository at this point in the history
  • Loading branch information
windoze authored Jun 24, 2022
1 parent 197cb54 commit 6a0e979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/sql-registry/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_feature(feature: str) -> dict:
if e.entity_type not in [EntityType.DerivedFeature, EntityType.AnchorFeature]:
raise HTTPException(
status_code=404, detail=f"Feature {feature} not found")
return e
return e.to_dict()


@router.get("/features/{feature}/lineage")
Expand Down

0 comments on commit 6a0e979

Please sign in to comment.