Skip to content

Commit

Permalink
Database: Change uuid.UUID to str in models
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio committed Feb 22, 2024
1 parent 9830acd commit 813327a
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 57 deletions.
3 changes: 1 addition & 2 deletions lib/rucio/core/account_limit.py
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import uuid
from typing import TYPE_CHECKING, Optional, Union

from sqlalchemy.orm.exc import NoResultFound
Expand Down Expand Up @@ -270,7 +269,7 @@ def delete_global_account_limit(account: InternalAccount, rse_expression: str, *


@transactional_session
def get_local_account_usage(account: InternalAccount, rse_id: Optional[uuid.UUID] = None, *, session: "Session") -> list[dict]:
def get_local_account_usage(account: InternalAccount, rse_id: Optional[str] = None, *, session: "Session") -> list[dict]:
"""
Read the account usage and connect it with (if available) the account limits of the account.
Expand Down

0 comments on commit 813327a

Please sign in to comment.