File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,12 +36,6 @@ def delete(self):
3636 self .lightbeam .confirm_delete (endpoints )
3737
3838 for endpoint in endpoints :
39- # it doesn't seem possible to delete students once you've sent them
40- # (I think because other entities may have referenced them in the meantime)
41- if endpoint == 'students' :
42- self .logger .warn ("data for {0} endpoint cannot be deleted (this is an Ed-Fi limitation); skipping" .format (endpoint ))
43- continue
44-
4539 asyncio .run (self .do_deletes (endpoint ))
4640 self .logger .info ("finished processing endpoint {0}!" .format (endpoint ))
4741 self .logger .info (" (final status counts: {0})" .format (self .lightbeam .status_counts ))
Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ def truncate(self):
2828 self .lightbeam .confirm_truncate (endpoints )
2929
3030 for endpoint in endpoints :
31- # it doesn't seem possible to delete students once you've sent them
32- # (I think because other entities may have referenced them in the meantime)
33- # if endpoint=='students':
34- # self.logger.warn("data for {0} endpoint cannot be deleted (this is an Ed-Fi limitation); skipping".format(endpoint))
35- # continue
36-
3731 asyncio .run (self .do_truncates (endpoint ))
3832 self .logger .info ("finished processing endpoint {0}!" .format (endpoint ))
3933 self .logger .info (" (final status counts: {0})" .format (self .lightbeam .status_counts ))
You can’t perform that action at this time.
0 commit comments