-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(hybridcloud): Created
get_org_by_id
method (#67980)
Some of our `convert_args` functions for our endpoints use `get_org_by_slug(slug=organization_slug)`. We are working on supporting slugs and parameters for our apis, so we need a 1:1 function that we can use for these convert_args when id is passed instead of slug. Created the function & wrote a test. It will also have more upstream tests.
- Loading branch information
1 parent
bccf5d5
commit 6ddc371
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters