Skip to content

feat(sdk): list a teamspace's jobs by tag - #151

Merged
tejapulagam merged 5 commits into
mainfrom
daniela/list-jobs-by-tag
Sep 16, 2026
Merged

tejapulagam merged 5 commits into
mainfrom
daniela/list-jobs-by-tag

Conversation

@Danidapena

Copy link
Copy Markdown
Contributor

Teamspace job tags landed in the platform recently and are already in the web UI. This PR enables listing jobs by tag on the teamspace

Python

teamspace = Teamspace()
teamspace.list_jobs(tags=["data"])

tags= is accepted by Job.run, MMT.run, and the pipeline JobStep / MMTStep. Tags that don't exist in the teamspace yet are created by the platform, which requires permission to create tags in that teamspace.

CLI

lightning list jobs --tags team-a

--tags accepts a comma-separated list or repeats.

@Danidapena
Danidapena force-pushed the daniela/list-jobs-by-tag branch from e06fba2 to d2b0017 Compare September 15, 2026 13:22
@Danidapena
Danidapena marked this pull request as ready for review September 15, 2026 13:43
@owbone

owbone commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Can we have this in the Go SDK too (and maybe the JS SDK if it supports job listing)?

@Danidapena

Danidapena commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Can we have this in the Go SDK too (and maybe the JS SDK if it supports job listing)?

@owbone sure 😄. However we JS does not support job listing yet

Port list-by-tag to the Go SDK: Teamspace.ListJobs and ListMMTs take tag
names, Teamspace.Tags lists the teamspace's tags, and Job.Tags/MMT.Tags
read a job's tags. The JS SDK has no jobs API yet, so it is not covered.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Comment thread go/mmt.go Outdated
Comment thread go/job.go Outdated
Comment thread go/teamspace.go Outdated
Comment thread go/teamspace.go Outdated
Danidapena and others added 3 commits September 16, 2026 09:41
Co-authored-by: Oliver Bone <owbone@gmail.com>
Co-authored-by: Oliver Bone <owbone@gmail.com>
@tejapulagam
tejapulagam merged commit e6bc3cb into main Sep 16, 2026
25 checks passed
@tejapulagam
tejapulagam deleted the daniela/list-jobs-by-tag branch September 16, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants