File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Data(Base):
1717 name = Column (String , nullable = False )
1818 native_file_name = Column (String , nullable = False )
1919 viewable_file_name = Column (String , nullable = False )
20- geode_object = Column (String , nullable = False )
2120 binary_light_viewable = Column (String , nullable = True )
21+ geode_object = Column (String , nullable = False )
2222 input_files = Column (JSON , nullable = True )
2323 created_at = Column (DateTime , default = datetime .now )
Original file line number Diff line number Diff line change @@ -184,8 +184,8 @@ def save_all_viewables_and_return_info(
184184 name = data .name (),
185185 native_file_name = os .path .basename (saved_native_file_path [0 ]),
186186 viewable_file_name = os .path .basename (saved_viewable_file_path ),
187+ light_viewable = os .path .basename (saved_light_viewable_file_path ),
187188 geode_object = geode_object ,
188- binary_light_viewable = binary_light_viewable .decode ("utf-8" ),
189189 input_files = additional_files or [],
190190 )
191191 session .add (data_entry )
You can’t perform that action at this time.
0 commit comments