Skip to content

Commit 98c6532

Browse files
committed
update edge path to pass initialization
1 parent 789ea06 commit 98c6532

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cterasdk/cio/edge/types.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ class EdgePath(BasePath):
77
"""
88
Edge Filer Path Object
99
"""
10-
Namespace = '/'
1110

12-
def __init__(self, reference):
13-
super().__init__(EdgePath.Namespace, reference or '.')
11+
def __init__(self, scope, reference):
12+
super().__init__(scope, reference or '.')
1413

1514

1615
class EdgeResource(BaseResource):
@@ -25,7 +24,6 @@ class EdgeResource(BaseResource):
2524
:ivar datetime.datetime last_modified: Last Modified
2625
:ivar str extension: Extension
2726
"""
28-
Scheme = 'ctera-edge'
2927

3028
def __init__(self, path, is_dir, size, created_at, last_modified):
3129
super().__init__(path.name, path, is_dir, size, last_modified)

0 commit comments

Comments
 (0)