Skip to content

Commit abeb0c3

Browse files
committed
move os import to top level
Signed-off-by: Filinto Duran <[email protected]>
1 parent 9bba479 commit abeb0c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

durabletask/internal/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import dataclasses
55
import json
66
import logging
7+
import os
78
from types import SimpleNamespace
89
from typing import Any, Optional, Sequence, Union
910

@@ -33,7 +34,6 @@ def get_default_host_address() -> str:
3334
- DURABLETASK_GRPC_ENDPOINT (e.g., "localhost:4001", "grpcs://host:443")
3435
- DURABLETASK_GRPC_HOST and DURABLETASK_GRPC_PORT
3536
"""
36-
import os
3737

3838
# Full endpoint overrides
3939
endpoint = os.environ.get("DAPR_GRPC_ENDPOINT")

0 commit comments

Comments
 (0)