Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Rename type to file type
  • Loading branch information
vitalii-bulyzhyn committed Feb 16, 2023
commit 0cf3cd8c31c4fb0e7598e7f55e82315bb632039b
4 changes: 2 additions & 2 deletions sdk/diffgram/file/compound_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ class CompoundFile:
parent_file_data: dict
child_files: List[CompoundChildFile]

def __init__(self, project: Project, name: str, directory_id: int, type: str = 'compound'):
def __init__(self, project: Project, name: str, directory_id: int, file_type: str = 'compound'):
self.project = project
self.name = name
self.directory_id = directory_id
self.child_files = []
self.type = type
self.type = file_type

@staticmethod
def from_dict(project: Project, dir_id: int, dict_data: dict):
Expand Down