Skip to content

[FR]: Option to flter job/job runs by name (preferable regexp) #754

Open
@tanyakoganoracle

Description

@tanyakoganoracle

Willingness to contribute

Yes. I would be willing to contribute this feature with guidance from the oracle-ads team.

Proposal Summary

Maybe you want to add filter job/job runs by name too, i.e.:

def list_runs_with_state(self, lifecycle_state: str) -> list[DataScienceJobRun]:
runs = self._oci_instance.run_list(lifecycle_state=lifecycle_state)
user_job_runs = list(filter(lambda j: j.name.startswith(self._config.user_prefix), runs))
return user_job_runs

(preferable regexp)

Motivation

We filter our jobs/jobruns by name to separate the runs

Why is it currently difficult to achieve this use case?

It is not, difficult but not fully follows the SOLID principals

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ackacknowledgedenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions