File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 33import uuid
44from typing import List , Type
55
6- DatabaseModel : Type = database .Model
6+ DatabaseModel : Type = database .Model
7+
78
89class Data (database .Model ):
910 __tablename__ = "datas"
1011
1112 id = database .Column (
12- String ,
13- primary_key = True ,
14- default = lambda : str (uuid .uuid4 ()).replace ("-" , "" )
13+ String , primary_key = True , default = lambda : str (uuid .uuid4 ()).replace ("-" , "" )
1514 )
1615 name = database .Column (String , nullable = False )
1716 native_file_name = database .Column (String , nullable = False )
@@ -23,10 +22,7 @@ class Data(database.Model):
2322
2423 @staticmethod
2524 def create (
26- name : str ,
27- geode_object : str ,
28- input_file : str ,
29- additional_files : List [str ]
25+ name : str , geode_object : str , input_file : str , additional_files : List [str ]
3026 ) -> "Data" :
3127 if input_file is None :
3228 input_file = []
You can’t perform that action at this time.
0 commit comments