Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sync/azuredatabricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import sys
from time import sleep
from typing import List, Type, TypeVar
from typing import List, Dict, Type, TypeVar, Optional
from urllib.parse import urlparse

import orjson
Expand Down Expand Up @@ -419,8 +419,8 @@ def _get_azure_subscription_id():


def _get_running_vms_by_id(
compute: AzureClient, resource_group_name: str | None, cluster_id: str
) -> dict[str, dict]:
compute: AzureClient, resource_group_name: Optional[str], cluster_id: str
) -> Dict[str, dict]:

if resource_group_name:
vms = compute.virtual_machines.list(resource_group_name=resource_group_name)
Expand Down