Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kalibh Halford <[email protected]>
  • Loading branch information
anish-mudaraddi and khalford committed May 2, 2024
1 parent df69fa6 commit 6f49da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/openstack_query/query_blocks/results_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _get_forwarded_result(
self, prop_val: str, forwarded_results: Dict[str, List]
) -> Optional[Dict]:
"""
static helper method to return forwarded values that match a given property value. Used for chaining
helper method to return forwarded values that match a given property value. Used for chaining
This handles two chaining cases:
- many-to-one (or one-to-one as we're using duplicates)
- where multiple forwarded outputs maps to one openstack object in result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def test_apply_forwarded_result_empty():

def mock_result(get_prop_return):
"""
Helper function to mock a Result object with a mocked value to return when get_prop() is caled
Helper function to mock a Result object with a mocked value to return when get_prop() is called
"""
mock_prop = MagicMock()
mock_prop.get_prop.return_value = get_prop_return
Expand Down

0 comments on commit 6f49da2

Please sign in to comment.