Skip to content

Commit c13b3e1

Browse files
author
Thinh Nguyen
committed
bugfix - remove jobconfig
1 parent 71b0696 commit c13b3e1

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

datajoint/autopopulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def purge_invalid_jobs(self):
428428
"""
429429
Check and remove any invalid/outdated jobs in the JobTable for this autopopulate table
430430
Job keys that are in the JobTable (regardless of status) but are no longer in the `key_source`
431-
(e.g. jobs added but upstream table(s) got deleted)
431+
(e.g. jobs added but entries in upstream table(s) got deleted)
432432
This is potentially a time-consuming process - but should not expect to have to run very often
433433
"""
434434

datajoint/schemas.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def __init__(
7171
self.create_schema = create_schema
7272
self.create_tables = create_tables
7373
self._jobs = None
74-
self._jobs_config = None
7574
self.external = ExternalMapping(self)
7675
self.add_objects = add_objects
7776
self.declare_list = []
@@ -402,18 +401,6 @@ def jobs(self):
402401
self._jobs = JobTable(self.connection, self.database)
403402
return self._jobs
404403

405-
@property
406-
def jobs_config(self):
407-
"""
408-
schema.jobs provides a view of the job reservation table for the schema
409-
410-
:return: jobs table
411-
"""
412-
self._assert_exists()
413-
if self._jobs_config is None:
414-
self._jobs_config = JobConfigTable(self.connection, self.database)
415-
return self._jobs_config
416-
417404
@property
418405
def code(self):
419406
self._assert_exists()

0 commit comments

Comments
 (0)