Skip to content

Commit

Permalink
Merge pull request #92 from ImMin5/master
Browse files Browse the repository at this point in the history
Fix hint type
  • Loading branch information
ImMin5 authored Nov 23, 2023
2 parents 05a6f3c + 37841f3 commit ca99278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/spaceone/identity/manager/domain_secret_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,4 @@ def _generate_domain_secret(self, domain_id: str) -> dict:
"domain_id": domain_id,
"domain": domain_vo,
}
print("generate domain secrer", data)
return data
3 changes: 2 additions & 1 deletion src/spaceone/identity/manager/user_manager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import logging
import re

from typing import Tuple
from spaceone.core import cache
from spaceone.core.manager import BaseManager

Expand Down Expand Up @@ -134,7 +135,7 @@ def _rollback(old_data):
def get_user(self, user_id: str, domain_id: str) -> User:
return self.user_model.get(user_id=user_id, domain_id=domain_id)

def list_users(self, query: dict) -> tuple[list, int]:
def list_users(self, query: dict) -> Tuple[list, int]:
return self.user_model.query(**query)

@staticmethod
Expand Down

0 comments on commit ca99278

Please sign in to comment.