コード例 #1
0
class BuildJobNewStatusEvent(Event):
    event_type = BUILD_JOB_NEW_STATUS
    attributes = (
        Attribute('id'),
        Attribute('user.id'),
        Attribute('project.id'),
        Attribute('last_status'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
    )
コード例 #2
0
class TensorboardFailedEvent(Event):
    event_type = TENSORBOARD_FAILED
    attributes = (
        Attribute('id'),
        Attribute('user.id'),
        Attribute('project.id'),
        Attribute('last_status'),
        Attribute('previous_status', is_required=False),
        Attribute('target'),  # project, experiment_group, experiment
    )
コード例 #3
0
class BuildJobStartedEvent(Event):
    event_type = BUILD_JOB_STARTED
    attributes = (
        Attribute('id'),
        Attribute('user.id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
    )
コード例 #4
0
class ExperimentDoneEvent(Event):
    event_type = EXPERIMENT_DONE
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('experiment_group.id', is_required=False),
        Attribute('previous_status', is_required=False),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
    )
コード例 #5
0
class TensorboardSoppedTriggeredEvent(Event):
    event_type = TENSORBOARD_STOPPED_TRIGGERED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('user.id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('target'),  # project, experiment_group, experiment
        Attribute('last_status'),
    )
コード例 #6
0
class TensorboardStatusesViewedEvent(Event):
    event_type = TENSORBOARD_STATUSES_VIEWED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('user.id'),
        Attribute('last_status'),
        Attribute('target'),  # project, experiment_group, experiment
    )
コード例 #7
0
class TensorboardUnBookmarkedEvent(Event):
    event_type = TENSORBOARD_UNBOOKMARKED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('user.id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('last_status'),
        Attribute('target'),  # project, experiment_group, experiment
    )
コード例 #8
0
ファイル: pipeline.py プロジェクト: yutiansut/polyaxon
class PipelineArchivedEvent(Event):
    event_type = PIPELINE_ARCHIVED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
        Attribute('user.id'),
    )
コード例 #9
0
ファイル: pipeline.py プロジェクト: yutiansut/polyaxon
class PipelineRestoredEvent(Event):
    event_type = PIPELINE_RESTORED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('user.id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
    )
コード例 #10
0
ファイル: pipeline.py プロジェクト: yutiansut/polyaxon
class PipelineUnbookmarkedEvent(Event):
    event_type = PIPELINE_UNBOOKMARKED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('user.id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
    )
コード例 #11
0
class BookmarkProjectsViewedEvent(Event):
    event_type = BOOKMARK_PROJECTS_VIEWED
    actor = True
    attributes = (Attribute('id'), )
コード例 #12
0
class ExperimentRestartedEvent(Event):
    event_type = EXPERIMENT_RESTARTED
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('experiment_group.id', is_required=False),
        Attribute('experiment_group.user.id', is_required=False),
        Attribute('user.id'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
        Attribute('has_description', attr_type=bool),
        Attribute('last_status'),
        Attribute('framework', attr_type=bool, is_required=False),
    )
コード例 #13
0
class ExperimentUnBookmarkedEvent(Event):
    event_type = EXPERIMENT_UNBOOKMARKED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('experiment_group.id', is_required=False),
        Attribute('experiment_group.user.id', is_required=False),
        Attribute('user.id'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
        Attribute('has_description', attr_type=bool),
        Attribute('last_status'),
        Attribute('framework', attr_type=bool, is_required=False),
    )
コード例 #14
0
class ExperimentDeletedEvent(Event):
    event_type = EXPERIMENT_DELETED
    attributes = (Attribute('id'), )
コード例 #15
0
class ExperimentCreatedEvent(Event):
    event_type = EXPERIMENT_CREATED
    actor = True
    actor_id = 'user.id'
    actor_name = 'user.username'
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('experiment_group.id', is_required=False),
        Attribute('experiment_group.user.id', is_required=False),
        Attribute('created_at', is_datetime=True),
        Attribute('has_description', attr_type=bool),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
        Attribute('is_resume', attr_type=bool),
        Attribute('is_restart', attr_type=bool),
        Attribute('is_copy', attr_type=bool),
        Attribute('is_clone', attr_type=bool),
        Attribute('is_independent', attr_type=bool),
        Attribute('has_specification', attr_type=bool),
        Attribute('framework', attr_type=bool, is_required=False),
    )
コード例 #16
0
class OperationRunDeletedEvent(Event):
    event_type = OPERATION_RUN_DELETED
    attributes = (Attribute('id'), )
コード例 #17
0
ファイル: experiment_group.py プロジェクト: emailhy/polyaxon
class ExperimentGroupCreatedEvent(Event):
    event_type = EXPERIMENT_GROUP_CREATED
    actor = True
    actor_id = 'user.id'
    actor_name = 'user.username'
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('updated_at', is_datetime=True),
        Attribute('concurrency', is_required=False),
        Attribute('search_algorithm', is_required=False),
        Attribute('has_specification', attr_type=bool),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
        Attribute('is_study', attr_type=bool),
        Attribute('is_selection', attr_type=bool),
        Attribute('has_early_stopping', attr_type=bool, is_required=False),
        Attribute('has_description', attr_type=bool),
    )
コード例 #18
0
class ClusterUpdatedEvent(Event):
    event_type = CLUSTER_UPDATED
    attributes = (Attribute('updated_at', is_datetime=True),
                  Attribute('is_upgrade', attr_type=bool),
                  Attribute('version_api', attr_type=dict))
コード例 #19
0
class RepoCreatedEvent(Event):
    event_type = REPO_CREATED
    actor = True
    attributes = (Attribute('id'), Attribute('project.id'),
                  Attribute('project.user.id'),
                  Attribute('external', attr_type=bool))
コード例 #20
0
class ExperimentCleanedTriggeredEvent(Event):
    event_type = EXPERIMENT_CLEANED_TRIGGERED
    attributes = (Attribute('id'), )
コード例 #21
0
class BookmarkExperimentGroupsViewedEvent(Event):
    event_type = BOOKMARK_EXPERIMENT_GROUPS_VIEWED
    actor = True
    attributes = (Attribute('id'), )
コード例 #22
0
class BookmarkJobsViewedEvent(Event):
    event_type = BOOKMARK_JOBS_VIEWED
    actor = True
    attributes = (Attribute('id'), )
コード例 #23
0
class ExperimentCopiedTriggeredEvent(Event):
    event_type = EXPERIMENT_COPIED_TRIGGERED
    actor = True
    attributes = (
        Attribute('id'),
        Attribute('project.id'),
        Attribute('project.user.id'),
        Attribute('experiment_group.id', is_required=False),
        Attribute('experiment_group.user.id', is_required=False),
        Attribute('user.id'),
        Attribute('backend', attr_type=bool),
        Attribute('is_managed', attr_type=bool),
        Attribute('has_description', attr_type=bool),
        Attribute('last_status'),
        Attribute('framework', attr_type=bool, is_required=False),
    )
コード例 #24
0
ファイル: pipeline_run.py プロジェクト: yutiansut/polyaxon
class PipelineRunCleanedTriggeredEvent(Event):
    event_type = PIPELINE_RUN_CLEANED_TRIGGERED
    attributes = (Attribute('id'), )
コード例 #25
0
class DummyEvent(Event):
    event_type = 'dummy.event'
    attributes = (
        Attribute('dummy_attr'),
        Attribute('new_attr', is_required=False),
    )
コード例 #26
0
ファイル: pipeline_run.py プロジェクト: yutiansut/polyaxon
class PipelineRunDeletedEvent(Event):
    event_type = PIPELINE_RUN_DELETED
    attributes = (Attribute('id'), )
コード例 #27
0
class BuildJobCleanedTriggeredEvent(Event):
    event_type = BUILD_JOB_CLEANED_TRIGGERED
    attributes = (Attribute('id'), )
コード例 #28
0
ファイル: action_event.py プロジェクト: x10-utils/polyaxon
class ActionExecutedEvent(Event):
    attributes = (
        Attribute('automatic'),
        Attribute('user.id', is_required=False),
    )
コード例 #29
0
class BuildJobDeletedEvent(Event):
    event_type = BUILD_JOB_DELETED
    attributes = (Attribute('id'), )
コード例 #30
0
class OperationRunCleanedTriggeredEvent(Event):
    event_type = OPERATION_RUN_CLEANED_TRIGGERED
    attributes = (Attribute('id'), )