Skip to content

Commit 0cf3cd8

Browse files
Rename type to file type
1 parent da13b93 commit 0cf3cd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/diffgram/file/compound_file.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ class CompoundFile:
108108
parent_file_data: dict
109109
child_files: List[CompoundChildFile]
110110

111-
def __init__(self, project: Project, name: str, directory_id: int, type: str = 'compound'):
111+
def __init__(self, project: Project, name: str, directory_id: int, file_type: str = 'compound'):
112112
self.project = project
113113
self.name = name
114114
self.directory_id = directory_id
115115
self.child_files = []
116-
self.type = type
116+
self.type = file_type
117117

118118
@staticmethod
119119
def from_dict(project: Project, dir_id: int, dict_data: dict):

0 commit comments

Comments
 (0)