File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ def get(self):
6060 return AzureConnection ().users ()
6161
6262
63- # TODO : DEPRECATE
6463@ns .route ('/<string:id>/roles' )
6564@ns .response (HTTPStatus .NOT_FOUND , 'User not found' )
6665@ns .response (HTTPStatus .UNPROCESSABLE_ENTITY , 'The id has an invalid format' )
@@ -77,7 +76,6 @@ def post(self, id):
7776 return AzureConnection ().update_user_role (id , ns .payload ['role' ])
7877
7978
80- # TODO : DEPRECATE
8179@ns .route ('/<string:user_id>/roles/<string:role_id>' )
8280@ns .response (HTTPStatus .NOT_FOUND , 'User not found' )
8381@ns .response (HTTPStatus .UNPROCESSABLE_ENTITY , 'The id has an invalid format' )
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ def users(self) -> List[AzureUser]:
9191 assert 'value' in response .json ()
9292 return [self .to_azure_user (item ) for item in response .json ()['value' ]]
9393
94- # TODO : DEPRECATE
9594 def update_user_role (self , id , role ):
9695 endpoint = "{endpoint}/users/{user_id}?api-version=1.6" .format (
9796 endpoint = self .config .ENDPOINT , user_id = id
You can’t perform that action at this time.
0 commit comments