Skip to content

Commit 5a69f47

Browse files
committed
NavigationNodeCollection is used even without type checking, so import out of the if condition
1 parent 16192f3 commit 5a69f47

File tree

1 file changed

+2
-4
lines changed
  • office365/sharepoint/navigation

1 file changed

+2
-4
lines changed

office365/sharepoint/navigation/node.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
from typing import TYPE_CHECKING, Optional
1+
from typing import Optional
22

33
from office365.runtime.paths.resource_path import ResourcePath
44
from office365.sharepoint.entity import Entity
5+
from office365.sharepoint.navigation.node_collection import NavigationNodeCollection
56
from office365.sharepoint.translation.user_resource import UserResource
67

7-
if TYPE_CHECKING:
8-
from office365.sharepoint.navigation.node_collection import NavigationNodeCollection
9-
108

119
class NavigationNode(Entity):
1210
"""

0 commit comments

Comments
 (0)