MCPcopy Index your code
hub / github.com/diffgram/diffgram / __post_init__

Method __post_init__

shared/annotation.py:434–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

432
433 # Tested
434 def __post_init__(self):
435
436 self.log = regular_log.default()
437 if self.creating_for_instance_template:
438 return
439
440 if self.project is None and self.project_id is not None:
441 self.project = Project.get_by_id(self.session, self.project_id)
442 self.get_allowed_label_file_ids()
443
444 self.previous_next_instance_map = {}
445
446 if self.member is None and not self.external_auth:
447 self.member = get_member(session = self.session)
448
449 # Order dependent here
450
451 self.init_video_input()
452
453 self.task_update()
454
455 self.init_file()
456
457 self.init_existing_instances()
458
459 self.refresh_instance_count()
460
461 # Tested
462 def instance_template_main(self):

Callers

nothing calls this directly

Calls 8

init_video_inputMethod · 0.95
task_updateMethod · 0.95
init_fileMethod · 0.95
get_memberFunction · 0.90
get_by_idMethod · 0.45

Tested by

no test coverage detected