witrin's picture
Upload folder using huggingface_hub (part 2)
6ab90c0 verified
Raw
History Blame Contribute Delete
68.7 kB
{"time": "2024-09-06T21:43:28+00:00", "type": "commit", "payload": {"sha": "88b186d56e8f65cac752037fe893d59d361850ba", "node_id": "C_kwDOKNhT9doAKDg4YjE4NmQ1NmU4ZjY1Y2FjNzUyMDM3ZmU4OTNkNTlkMzYxODUwYmE", "commit": {"author": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T21:43:28Z"}, "committer": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T22:25:32Z"}, "message": "Add Job.add_step\n\nSigned-off-by: Jimmy Christensen <lithorus@gmail.com>", "tree": {"sha": "8ef7dd61efe59acf1af06bc73fed0563f9c12c11", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/trees/8ef7dd61efe59acf1af06bc73fed0563f9c12c11"}, "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/commits/88b186d56e8f65cac752037fe893d59d361850ba", "comment_count": 0, "verification": {"verified": false, "reason": "unsigned", "signature": null, "payload": null, "verified_at": null}}, "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/commits/88b186d56e8f65cac752037fe893d59d361850ba", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/88b186d56e8f65cac752037fe893d59d361850ba", "comments_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/commits/88b186d56e8f65cac752037fe893d59d361850ba/comments", "author": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "committer": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "parents": [{"sha": "b6f47377888a5570a2b3ba1ce5b134b34c1bc2be", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/commits/b6f47377888a5570a2b3ba1ce5b134b34c1bc2be", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/b6f47377888a5570a2b3ba1ce5b134b34c1bc2be"}], "stats": {"total": 9, "additions": 9, "deletions": 0}, "files": [{"sha": "9112dfae2f2aa3665dca729e73cea245f948e16c", "filename": "src/openjd/model/v2023_09/_model.py", "status": "modified", "additions": 9, "deletions": 0, "changes": 9, "blob_url": "https://github.com/OpenJobDescription/openjd-model-for-python/blob/88b186d56e8f65cac752037fe893d59d361850ba/src%2Fopenjd%2Fmodel%2Fv2023_09%2F_model.py", "raw_url": "https://github.com/OpenJobDescription/openjd-model-for-python/raw/88b186d56e8f65cac752037fe893d59d361850ba/src%2Fopenjd%2Fmodel%2Fv2023_09%2F_model.py", "contents_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/contents/src%2Fopenjd%2Fmodel%2Fv2023_09%2F_model.py?ref=88b186d56e8f65cac752037fe893d59d361850ba", "patch": "@@ -2181,6 +2181,15 @@ class Job(OpenJDModel_v2023_09):\n parameters: Optional[JobParameters] = None\n jobEnvironments: Optional[JobEnvironmentsList] = None\n \n+ def add_step(self, *, step: Step):\n+ \"\"\"\n+ Function to dynamically add step to jobs\n+ Args:\n+ step (Step): Step to be added\n+\n+ \"\"\"\n+ self.steps.append(step)\n+\n \n class JobTemplate(OpenJDModel_v2023_09):\n \"\"\"Definition of an Open Job Description Job Template."}]}}
{"time": "2024-09-06T21:43:28+00:00", "type": "timeline:committed", "payload": {"sha": "88b186d56e8f65cac752037fe893d59d361850ba", "node_id": "C_kwDOKNhT9doAKDg4YjE4NmQ1NmU4ZjY1Y2FjNzUyMDM3ZmU4OTNkNTlkMzYxODUwYmE", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/commits/88b186d56e8f65cac752037fe893d59d361850ba", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/88b186d56e8f65cac752037fe893d59d361850ba", "author": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T21:43:28Z"}, "committer": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T22:25:32Z"}, "tree": {"sha": "8ef7dd61efe59acf1af06bc73fed0563f9c12c11", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/trees/8ef7dd61efe59acf1af06bc73fed0563f9c12c11"}, "message": "Add Job.add_step\n\nSigned-off-by: Jimmy Christensen <lithorus@gmail.com>", "parents": [{"sha": "b6f47377888a5570a2b3ba1ce5b134b34c1bc2be", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/commits/b6f47377888a5570a2b3ba1ce5b134b34c1bc2be", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/b6f47377888a5570a2b3ba1ce5b134b34c1bc2be"}], "verification": {"verified": false, "reason": "unsigned", "signature": null, "payload": null, "verified_at": null}, "event": "committed"}}
{"time": "2024-09-06T22:18:44+00:00", "type": "commit", "payload": {"sha": "28482f165850e2a9ab607b6f72db43936fff4063", "node_id": "C_kwDOKNhT9doAKDI4NDgyZjE2NTg1MGUyYTlhYjYwN2I2ZjcyZGI0MzkzNmZmZjQwNjM", "commit": {"author": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T22:18:44Z"}, "committer": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T22:25:32Z"}, "message": "Added del_step_by_name and get_step_by_name\n\nSigned-off-by: Jimmy Christensen <lithorus@gmail.com>", "tree": {"sha": "87340d0d2d17348fa8e982487421dd9074385726", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/trees/87340d0d2d17348fa8e982487421dd9074385726"}, "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/commits/28482f165850e2a9ab607b6f72db43936fff4063", "comment_count": 0, "verification": {"verified": false, "reason": "unsigned", "signature": null, "payload": null, "verified_at": null}}, "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/commits/28482f165850e2a9ab607b6f72db43936fff4063", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/28482f165850e2a9ab607b6f72db43936fff4063", "comments_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/commits/28482f165850e2a9ab607b6f72db43936fff4063/comments", "author": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "committer": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "parents": [{"sha": "88b186d56e8f65cac752037fe893d59d361850ba", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/commits/88b186d56e8f65cac752037fe893d59d361850ba", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/88b186d56e8f65cac752037fe893d59d361850ba"}], "stats": {"total": 30, "additions": 30, "deletions": 0}, "files": [{"sha": "0cdcf9495881060a6cfc4f9f0a2c78eeb9d47051", "filename": "src/openjd/model/v2023_09/_model.py", "status": "modified", "additions": 30, "deletions": 0, "changes": 30, "blob_url": "https://github.com/OpenJobDescription/openjd-model-for-python/blob/28482f165850e2a9ab607b6f72db43936fff4063/src%2Fopenjd%2Fmodel%2Fv2023_09%2F_model.py", "raw_url": "https://github.com/OpenJobDescription/openjd-model-for-python/raw/28482f165850e2a9ab607b6f72db43936fff4063/src%2Fopenjd%2Fmodel%2Fv2023_09%2F_model.py", "contents_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/contents/src%2Fopenjd%2Fmodel%2Fv2023_09%2F_model.py?ref=28482f165850e2a9ab607b6f72db43936fff4063", "patch": "@@ -2190,6 +2190,36 @@ def add_step(self, *, step: Step):\n \"\"\"\n self.steps.append(step)\n \n+ def del_step_by_name(self, *, step_name: str):\n+ \"\"\"\n+\n+ Args:\n+ step_name: Name of the step to be removed\n+\n+ Returns:\n+\n+ \"\"\"\n+ step = self.get_step_by_name(step_name=step_name)\n+ try:\n+ self.steps.remove(step)\n+ return True\n+ except ValueError:\n+ # Return false if no step with the name given was found\n+ return False\n+\n+ def get_step_by_name(self, *, step_name: str):\n+ \"\"\"\n+\n+ Args:\n+ step_name: Name of the step to be found\n+\n+ Returns:\n+ Step\n+ \"\"\"\n+\n+ for step in self.steps:\n+ if step.name == step_name:\n+ return step\n \n class JobTemplate(OpenJDModel_v2023_09):\n \"\"\"Definition of an Open Job Description Job Template."}]}}
{"time": "2024-09-06T22:18:44+00:00", "type": "timeline:committed", "payload": {"sha": "28482f165850e2a9ab607b6f72db43936fff4063", "node_id": "C_kwDOKNhT9doAKDI4NDgyZjE2NTg1MGUyYTlhYjYwN2I2ZjcyZGI0MzkzNmZmZjQwNjM", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/commits/28482f165850e2a9ab607b6f72db43936fff4063", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/28482f165850e2a9ab607b6f72db43936fff4063", "author": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T22:18:44Z"}, "committer": {"name": "Jimmy Christensen", "email": "lithorus@gmail.com", "date": "2024-09-06T22:25:32Z"}, "tree": {"sha": "87340d0d2d17348fa8e982487421dd9074385726", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/trees/87340d0d2d17348fa8e982487421dd9074385726"}, "message": "Added del_step_by_name and get_step_by_name\n\nSigned-off-by: Jimmy Christensen <lithorus@gmail.com>", "parents": [{"sha": "88b186d56e8f65cac752037fe893d59d361850ba", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/commits/88b186d56e8f65cac752037fe893d59d361850ba", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/commit/88b186d56e8f65cac752037fe893d59d361850ba"}], "verification": {"verified": false, "reason": "unsigned", "signature": null, "payload": null, "verified_at": null}, "event": "committed"}}
{"time": "2024-09-06T22:24:39+00:00", "type": "pr", "payload": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140", "id": 2058756984, "node_id": "PR_kwDOKNhT9c56tiN4", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140", "diff_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140.diff", "patch_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140.patch", "issue_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140", "number": 140, "state": "closed", "locked": false, "title": "feat: add functions to manipulate steps on jobs", "user": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "body": "Related to : #137 \r\n\r\n### What was the problem/requirement? (What/Why)\r\nThis adds the ability to dynamically add/remove steps to jobs\r\n\r\n### What was the solution? (How)\r\nAdded public functions to the Job class\r\n\r\n### What is the impact of this change?\r\nIt should not affect tha actual model, byt only add public functions to manipulate it\r\n\r\n### How was this change tested?\r\nHave tested with creating a jobs and adding/removing steps dynamically.\r\nUnit tests are not yet added, but will add them later\r\n\r\n### Was this change documented?\r\nHave only added docstring for now which are not 100% complete yet (will update them)\r\n\r\n### Is this a breaking change?\r\nNo\r\n\r\n### Does this change impact security?\r\nNo\r\n\r\n*By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.*", "created_at": "2024-09-06T22:24:39Z", "updated_at": "2024-11-12T15:11:14Z", "closed_at": "2024-11-12T15:11:14Z", "merged_at": null, "merge_commit_sha": "ccbfd0d1cee20d3fa55decb141ddb992be477efb", "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": true, "commits_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140/commits", "review_comments_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140/comments", "review_comment_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140/comments", "statuses_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/statuses/28482f165850e2a9ab607b6f72db43936fff4063", "head": {"label": "lithorus:dynamic-job-creation", "ref": "dynamic-job-creation", "sha": "28482f165850e2a9ab607b6f72db43936fff4063", "user": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "repo": {"id": 853541060, "node_id": "R_kgDOMuAAxA", "name": "openjd-model-for-python", "full_name": "lithorus/openjd-model-for-python", "private": false, "owner": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "html_url": "https://github.com/lithorus/openjd-model-for-python", "description": "Provides a Python implementation of the data model for Open Job Description's template schemas.", "fork": true, "url": "https://api.github.com/repos/lithorus/openjd-model-for-python", "forks_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/forks", "keys_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/teams", "hooks_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/hooks", "issue_events_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/issues/events{/number}", "events_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/events", "assignees_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/assignees{/user}", "branches_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/branches{/branch}", "tags_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/tags", "blobs_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/git/refs{/sha}", "trees_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/statuses/{sha}", "languages_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/languages", "stargazers_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/stargazers", "contributors_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/contributors", "subscribers_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/subscribers", "subscription_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/subscription", "commits_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/commits{/sha}", "git_commits_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/git/commits{/sha}", "comments_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/comments{/number}", "issue_comment_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/issues/comments{/number}", "contents_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/contents/{+path}", "compare_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/merges", "archive_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/downloads", "issues_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/issues{/number}", "pulls_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/pulls{/number}", "milestones_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/milestones{/number}", "notifications_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/labels{/name}", "releases_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/releases{/id}", "deployments_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/deployments", "created_at": "2024-09-06T21:40:00Z", "updated_at": "2024-09-06T21:40:00Z", "pushed_at": "2024-09-06T22:26:18Z", "git_url": "git://github.com/lithorus/openjd-model-for-python.git", "ssh_url": "git@github.com:lithorus/openjd-model-for-python.git", "clone_url": "https://github.com/lithorus/openjd-model-for-python.git", "svn_url": "https://github.com/lithorus/openjd-model-for-python", "homepage": "https://github.com/OpenJobDescription/openjd-specifications/wiki", "size": 316, "stargazers_count": 0, "watchers_count": 0, "language": null, "has_issues": false, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 0, "license": {"key": "apache-2.0", "name": "Apache License 2.0", "spdx_id": "Apache-2.0", "url": "https://api.github.com/licenses/apache-2.0", "node_id": "MDc6TGljZW5zZTI="}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "has_pull_requests": true, "pull_request_creation_policy": "all", "topics": [], "visibility": "public", "forks": 0, "open_issues": 0, "watchers": 0, "default_branch": "mainline"}}, "base": {"label": "OpenJobDescription:mainline", "ref": "mainline", "sha": "b6f47377888a5570a2b3ba1ce5b134b34c1bc2be", "user": {"login": "OpenJobDescription", "id": 142452466, "node_id": "O_kgDOCH2m8g", "avatar_url": "https://avatars.githubusercontent.com/u/142452466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OpenJobDescription", "html_url": "https://github.com/OpenJobDescription", "followers_url": "https://api.github.com/users/OpenJobDescription/followers", "following_url": "https://api.github.com/users/OpenJobDescription/following{/other_user}", "gists_url": "https://api.github.com/users/OpenJobDescription/gists{/gist_id}", "starred_url": "https://api.github.com/users/OpenJobDescription/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OpenJobDescription/subscriptions", "organizations_url": "https://api.github.com/users/OpenJobDescription/orgs", "repos_url": "https://api.github.com/users/OpenJobDescription/repos", "events_url": "https://api.github.com/users/OpenJobDescription/events{/privacy}", "received_events_url": "https://api.github.com/users/OpenJobDescription/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "repo": {"id": 685265909, "node_id": "R_kgDOKNhT9Q", "name": "openjd-model-for-python", "full_name": "OpenJobDescription/openjd-model-for-python", "private": false, "owner": {"login": "OpenJobDescription", "id": 142452466, "node_id": "O_kgDOCH2m8g", "avatar_url": "https://avatars.githubusercontent.com/u/142452466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OpenJobDescription", "html_url": "https://github.com/OpenJobDescription", "followers_url": "https://api.github.com/users/OpenJobDescription/followers", "following_url": "https://api.github.com/users/OpenJobDescription/following{/other_user}", "gists_url": "https://api.github.com/users/OpenJobDescription/gists{/gist_id}", "starred_url": "https://api.github.com/users/OpenJobDescription/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OpenJobDescription/subscriptions", "organizations_url": "https://api.github.com/users/OpenJobDescription/orgs", "repos_url": "https://api.github.com/users/OpenJobDescription/repos", "events_url": "https://api.github.com/users/OpenJobDescription/events{/privacy}", "received_events_url": "https://api.github.com/users/OpenJobDescription/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python", "description": "Provides a Python implementation of the data model for Open Job Description's template schemas.", "fork": false, "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python", "forks_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/forks", "keys_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/teams", "hooks_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/hooks", "issue_events_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/events{/number}", "events_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/events", "assignees_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/assignees{/user}", "branches_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/branches{/branch}", "tags_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/tags", "blobs_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/refs{/sha}", "trees_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/statuses/{sha}", "languages_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/languages", "stargazers_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/stargazers", "contributors_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/contributors", "subscribers_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/subscribers", "subscription_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/subscription", "commits_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/commits{/sha}", "git_commits_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/git/commits{/sha}", "comments_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/comments{/number}", "issue_comment_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments{/number}", "contents_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/contents/{+path}", "compare_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/merges", "archive_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/downloads", "issues_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues{/number}", "pulls_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls{/number}", "milestones_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/milestones{/number}", "notifications_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/labels{/name}", "releases_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/releases{/id}", "deployments_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/deployments", "created_at": "2023-08-30T21:28:48Z", "updated_at": "2026-05-19T19:09:34Z", "pushed_at": "2026-05-19T19:09:34Z", "git_url": "git://github.com/OpenJobDescription/openjd-model-for-python.git", "ssh_url": "git@github.com:OpenJobDescription/openjd-model-for-python.git", "clone_url": "https://github.com/OpenJobDescription/openjd-model-for-python.git", "svn_url": "https://github.com/OpenJobDescription/openjd-model-for-python", "homepage": "https://github.com/OpenJobDescription/openjd-specifications/wiki", "size": 488, "stargazers_count": 12, "watchers_count": 12, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 20, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 9, "license": {"key": "apache-2.0", "name": "Apache License 2.0", "spdx_id": "Apache-2.0", "url": "https://api.github.com/licenses/apache-2.0", "node_id": "MDc6TGljZW5zZTI="}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "has_pull_requests": true, "pull_request_creation_policy": "all", "topics": [], "visibility": "public", "forks": 20, "open_issues": 9, "watchers": 12, "default_branch": "mainline"}}, "_links": {"self": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140"}, "html": {"href": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140"}, "issue": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140"}, "comments": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140/comments"}, "review_comments": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140/comments"}, "review_comment": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140/commits"}, "statuses": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/statuses/28482f165850e2a9ab607b6f72db43936fff4063"}}, "author_association": "NONE", "auto_merge": null, "assignee": null, "active_lock_reason": null, "merged": false, "mergeable": true, "rebaseable": false, "mergeable_state": "behind", "merged_by": null, "comments": 2, "review_comments": 1, "maintainer_can_modify": false, "commits": 2, "additions": 39, "deletions": 0, "changed_files": 1}}
{"time": "2024-09-06T22:26:19+00:00", "type": "timeline:head_ref_force_pushed", "payload": {"id": 14167530535, "node_id": "HRFPE_lADOKNhT9c6VrvVuzwAAAANMc1wn", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/events/14167530535", "actor": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "event": "head_ref_force_pushed", "commit_id": "28482f165850e2a9ab607b6f72db43936fff4063", "commit_url": "https://api.github.com/repos/lithorus/openjd-model-for-python/commits/28482f165850e2a9ab607b6f72db43936fff4063", "created_at": "2024-09-06T22:26:19Z", "performed_via_github_app": null}}
{"time": "2024-09-06T22:26:41+00:00", "type": "comment", "payload": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2334894625", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#issuecomment-2334894625", "issue_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140", "id": 2334894625, "node_id": "IC_kwDOKNhT9c6LK6oh", "user": {"login": "sonarqubecloud[bot]", "id": 39514782, "node_id": "MDM6Qm90Mzk1MTQ3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/12526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D", "html_url": "https://github.com/apps/sonarqubecloud", "followers_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/followers", "following_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/repos", "events_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false}, "created_at": "2024-09-06T22:26:41Z", "updated_at": "2024-09-06T22:26:41Z", "author_association": "NONE", "body": "## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=OpenJobDescription_openjd-model-for-python&pullRequest=140) **Quality Gate passed** \nIssues \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&issueStatuses=ACCEPTED)\n\nMeasures \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&metric=new_coverage&view=list) \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&metric=new_duplicated_lines_density&view=list) \n \n[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=OpenJobDescription_openjd-model-for-python&pullRequest=140)\n\n", "reactions": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2334894625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": {"id": 12526, "slug": "sonarqubecloud", "node_id": "MDM6QXBwMTI1MjY=", "owner": {"login": "SonarSource", "id": 545988, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==", "avatar_url": "https://avatars.githubusercontent.com/u/545988?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SonarSource", "html_url": "https://github.com/SonarSource", "followers_url": "https://api.github.com/users/SonarSource/followers", "following_url": "https://api.github.com/users/SonarSource/following{/other_user}", "gists_url": "https://api.github.com/users/SonarSource/gists{/gist_id}", "starred_url": "https://api.github.com/users/SonarSource/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SonarSource/subscriptions", "organizations_url": "https://api.github.com/users/SonarSource/orgs", "repos_url": "https://api.github.com/users/SonarSource/repos", "events_url": "https://api.github.com/users/SonarSource/events{/privacy}", "received_events_url": "https://api.github.com/users/SonarSource/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "name": "SonarQubeCloud", "description": "\r\nSonarQube Cloud (formerly SonarCloud) is a SaaS code analysis tool designed to detect coding issues in 30+ languages, frameworks, and IaC platforms. Your code is checked against an extensive set of rules that cover many attributes of code, such as maintainability, reliability, and security issues, on each merge/pull request.\r\n\r\nFor those requiring US-based hosting, [SonarQube Cloud US](https://sonarqube.us/) offers the perfect alternative. If you need data residency outside the US or within the EU, [SonarQube Cloud](https://sonarcloud.io/) with this GitHub app is the ideal solution.\r\n\r\nSonarQube Cloud integrates seamlessly into your GitHub workflow and provides clear guidance for resolving any code quality and security issues detected. The majority of popular languages can be analyzed automatically; no configuration is required!\r\n\r\nWith [SonarQube Cloud](https://sonarcloud.io/github), you get:\r\n\r\n- Fast, precise static analysis and feedback on your code\r\n \r\n- Support for popular languages, frameworks, and IaC tools\r\n \r\n- Free analysis for open-source projects and private projects up to max 50k LoC\r\n \r\n- Automatic analysis of pull requests and branches with results reported inline\r\n \r\n- IDE Support with [SonarQube for IDE](https://www.sonarsource.com/products/sonarlint/) integration\r\n \r\n- Quality Gate (added as a GitHub check) acting at two different levels - first, preventing you from merging pull requests that contain issues - and later, helping you to release only clean, safe code\r\n \r\n- Sign up for SonarQube free tier and begin scanning your private and public repositories\r\n \r\n\r\nA [GitHub Action](https://github.com/marketplace/actions/sonarcloud-scan) is available in the marketplace to make it easy for you (for projects where automatic analysis isn't available). SonarQube Cloud also integrates smoothly with Jenkins, CircleCI, TravisCI, CirrusCI, and many other tools.\r\n\r\nA free tier is available that allows you to explore the benefits of SonarQube Cloud using your public and private repositories. We also provide a no-commitment, [14-day trial](https://www.sonarsource.com/products/sonarcloud/signup/) of SonarQube Cloud Team for unlimited team members, up to 1.9M LoC, AI CodeFix recommendations, and more. No need to speak with a sales rep or request a license key - get automatic code analysis results on your private projects in minutes! Want to see more examples of SonarCloud in action? You can [explore current Open Source projects in SonarCloud](https://sonarcloud.io/explore/projects?sort=-analysis_date) that are using the [Clean as You Code](https://www.sonarsource.com/solutions/our-unique-approach/) methodology.\r\n\r\nWhat are you waiting for? SonarQube Cloud helps you consistently deliver cleaner, secure software that future developers will appreciate and your users will love. Start writing Clean Code. [Now](https://www.sonarsource.com/products/sonarcloud/signup/)!", "external_url": "https://sonarcloud.io", "html_url": "https://github.com/apps/sonarqubecloud", "created_at": "2018-05-22T07:36:37Z", "updated_at": "2026-03-03T08:54:32Z", "permissions": {"checks": "write", "contents": "read", "emails": "read", "members": "read", "metadata": "read", "organization_copilot_seat_management": "read", "pull_requests": "write", "security_events": "write", "statuses": "write"}, "events": ["code_scanning_alert", "organization", "pull_request", "push", "repository"]}, "pin": null}}
{"time": "2024-09-06T22:26:41+00:00", "type": "timeline:commented", "payload": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2334894625", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#issuecomment-2334894625", "issue_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140", "id": 2334894625, "node_id": "IC_kwDOKNhT9c6LK6oh", "user": {"login": "sonarqubecloud[bot]", "id": 39514782, "node_id": "MDM6Qm90Mzk1MTQ3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/12526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D", "html_url": "https://github.com/apps/sonarqubecloud", "followers_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/followers", "following_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/repos", "events_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false}, "created_at": "2024-09-06T22:26:41Z", "updated_at": "2024-09-06T22:26:41Z", "body": "## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=OpenJobDescription_openjd-model-for-python&pullRequest=140) **Quality Gate passed** \nIssues \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&issueStatuses=ACCEPTED)\n\nMeasures \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&metric=new_coverage&view=list) \n![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=OpenJobDescription_openjd-model-for-python&pullRequest=140&metric=new_duplicated_lines_density&view=list) \n \n[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=OpenJobDescription_openjd-model-for-python&pullRequest=140)\n\n", "author_association": "NONE", "reactions": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2334894625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": {"id": 12526, "client_id": "Iv1.dc610988574d1724", "slug": "sonarqubecloud", "node_id": "MDM6QXBwMTI1MjY=", "owner": {"login": "SonarSource", "id": 545988, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==", "avatar_url": "https://avatars.githubusercontent.com/u/545988?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SonarSource", "html_url": "https://github.com/SonarSource", "followers_url": "https://api.github.com/users/SonarSource/followers", "following_url": "https://api.github.com/users/SonarSource/following{/other_user}", "gists_url": "https://api.github.com/users/SonarSource/gists{/gist_id}", "starred_url": "https://api.github.com/users/SonarSource/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SonarSource/subscriptions", "organizations_url": "https://api.github.com/users/SonarSource/orgs", "repos_url": "https://api.github.com/users/SonarSource/repos", "events_url": "https://api.github.com/users/SonarSource/events{/privacy}", "received_events_url": "https://api.github.com/users/SonarSource/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "name": "SonarQubeCloud", "description": "\r\nSonarQube Cloud (formerly SonarCloud) is a SaaS code analysis tool designed to detect coding issues in 30+ languages, frameworks, and IaC platforms. Your code is checked against an extensive set of rules that cover many attributes of code, such as maintainability, reliability, and security issues, on each merge/pull request.\r\n\r\nFor those requiring US-based hosting, [SonarQube Cloud US](https://sonarqube.us/) offers the perfect alternative. If you need data residency outside the US or within the EU, [SonarQube Cloud](https://sonarcloud.io/) with this GitHub app is the ideal solution.\r\n\r\nSonarQube Cloud integrates seamlessly into your GitHub workflow and provides clear guidance for resolving any code quality and security issues detected. The majority of popular languages can be analyzed automatically; no configuration is required!\r\n\r\nWith [SonarQube Cloud](https://sonarcloud.io/github), you get:\r\n\r\n- Fast, precise static analysis and feedback on your code\r\n \r\n- Support for popular languages, frameworks, and IaC tools\r\n \r\n- Free analysis for open-source projects and private projects up to max 50k LoC\r\n \r\n- Automatic analysis of pull requests and branches with results reported inline\r\n \r\n- IDE Support with [SonarQube for IDE](https://www.sonarsource.com/products/sonarlint/) integration\r\n \r\n- Quality Gate (added as a GitHub check) acting at two different levels - first, preventing you from merging pull requests that contain issues - and later, helping you to release only clean, safe code\r\n \r\n- Sign up for SonarQube free tier and begin scanning your private and public repositories\r\n \r\n\r\nA [GitHub Action](https://github.com/marketplace/actions/sonarcloud-scan) is available in the marketplace to make it easy for you (for projects where automatic analysis isn't available). SonarQube Cloud also integrates smoothly with Jenkins, CircleCI, TravisCI, CirrusCI, and many other tools.\r\n\r\nA free tier is available that allows you to explore the benefits of SonarQube Cloud using your public and private repositories. We also provide a no-commitment, [14-day trial](https://www.sonarsource.com/products/sonarcloud/signup/) of SonarQube Cloud Team for unlimited team members, up to 1.9M LoC, AI CodeFix recommendations, and more. No need to speak with a sales rep or request a license key - get automatic code analysis results on your private projects in minutes! Want to see more examples of SonarCloud in action? You can [explore current Open Source projects in SonarCloud](https://sonarcloud.io/explore/projects?sort=-analysis_date) that are using the [Clean as You Code](https://www.sonarsource.com/solutions/our-unique-approach/) methodology.\r\n\r\nWhat are you waiting for? SonarQube Cloud helps you consistently deliver cleaner, secure software that future developers will appreciate and your users will love. Start writing Clean Code. [Now](https://www.sonarsource.com/products/sonarcloud/signup/)!", "external_url": "https://sonarcloud.io", "html_url": "https://github.com/apps/sonarqubecloud", "created_at": "2018-05-22T07:36:37Z", "updated_at": "2026-03-03T08:54:32Z", "permissions": {"checks": "write", "contents": "read", "emails": "read", "members": "read", "metadata": "read", "organization_copilot_seat_management": "read", "pull_requests": "write", "security_events": "write", "statuses": "write"}, "events": ["code_scanning_alert", "organization", "pull_request", "push", "repository"]}, "event": "commented", "actor": {"login": "sonarqubecloud[bot]", "id": 39514782, "node_id": "MDM6Qm90Mzk1MTQ3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/12526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D", "html_url": "https://github.com/apps/sonarqubecloud", "followers_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/followers", "following_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/repos", "events_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/sonarqubecloud%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false}}}
{"time": "2024-09-06T22:27:45+00:00", "type": "timeline:renamed", "payload": {"id": 14167537149, "node_id": "RTE_lADOKNhT9c6VrvVuzwAAAANMc3X9", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/events/14167537149", "actor": {"login": "lithorus", "id": 1385123, "node_id": "MDQ6VXNlcjEzODUxMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1385123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lithorus", "html_url": "https://github.com/lithorus", "followers_url": "https://api.github.com/users/lithorus/followers", "following_url": "https://api.github.com/users/lithorus/following{/other_user}", "gists_url": "https://api.github.com/users/lithorus/gists{/gist_id}", "starred_url": "https://api.github.com/users/lithorus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithorus/subscriptions", "organizations_url": "https://api.github.com/users/lithorus/orgs", "repos_url": "https://api.github.com/users/lithorus/repos", "events_url": "https://api.github.com/users/lithorus/events{/privacy}", "received_events_url": "https://api.github.com/users/lithorus/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "event": "renamed", "commit_id": null, "commit_url": null, "created_at": "2024-09-06T22:27:45Z", "rename": {"from": "Add functions to manipulate steps on jobs", "to": "feat: add functions to manipulate steps on jobs"}, "performed_via_github_app": null}}
{"time": "2024-09-06T23:03:32+00:00", "type": "review", "payload": {"id": 2287259334, "node_id": "PRR_kwDOKNhT9c6IVM7G", "user": {"login": "github-advanced-security[bot]", "id": 62310815, "node_id": "MDM6Qm90NjIzMTA4MTU=", "avatar_url": "https://avatars.githubusercontent.com/in/57789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/github-advanced-security%5Bbot%5D", "html_url": "https://github.com/apps/github-advanced-security", "followers_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/followers", "following_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/repos", "events_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false}, "body": "", "state": "COMMENTED", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#pullrequestreview-2287259334", "pull_request_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140", "author_association": "NONE", "_links": {"html": {"href": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#pullrequestreview-2287259334"}, "pull_request": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140"}}, "submitted_at": "2024-09-06T23:03:32Z", "commit_id": "28482f165850e2a9ab607b6f72db43936fff4063"}}
{"time": "2024-09-06T23:03:32+00:00", "type": "review_comment", "payload": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/comments/1747798920", "pull_request_review_id": 2287259334, "id": 1747798920, "node_id": "PRRC_kwDOKNhT9c5oLUuI", "diff_hunk": "@@ -2181,6 +2181,45 @@\n parameters: Optional[JobParameters] = None\n jobEnvironments: Optional[JobEnvironmentsList] = None\n \n+ def add_step(self, *, step: Step):\n+ \"\"\"\n+ Function to dynamically add step to jobs\n+ Args:\n+ step (Step): Step to be added\n+\n+ \"\"\"\n+ self.steps.append(step)\n+\n+ def del_step_by_name(self, *, step_name: str):\n+ \"\"\"\n+\n+ Args:\n+ step_name: Name of the step to be removed\n+\n+ Returns:\n+\n+ \"\"\"\n+ step = self.get_step_by_name(step_name=step_name)\n+ try:\n+ self.steps.remove(step)\n+ return True\n+ except ValueError:\n+ # Return false if no step with the name given was found\n+ return False\n+\n+ def get_step_by_name(self, *, step_name: str):", "path": "src/openjd/model/v2023_09/_model.py", "commit_id": "28482f165850e2a9ab607b6f72db43936fff4063", "original_commit_id": "28482f165850e2a9ab607b6f72db43936fff4063", "user": {"login": "github-advanced-security[bot]", "id": 62310815, "node_id": "MDM6Qm90NjIzMTA4MTU=", "avatar_url": "https://avatars.githubusercontent.com/in/57789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/github-advanced-security%5Bbot%5D", "html_url": "https://github.com/apps/github-advanced-security", "followers_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/followers", "following_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/repos", "events_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false}, "body": "## Explicit returns mixed with implicit (fall through) returns\n\nMixing implicit and explicit returns may indicate an error as implicit returns always return None.\n\n[Show more details](https://github.com/OpenJobDescription/openjd-model-for-python/security/code-scanning/11)", "created_at": "2024-09-06T23:03:32Z", "updated_at": "2024-09-06T23:03:32Z", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#discussion_r1747798920", "pull_request_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140", "_links": {"self": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/comments/1747798920"}, "html": {"href": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#discussion_r1747798920"}, "pull_request": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140"}}, "reactions": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/comments/1747798920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "start_line": null, "original_start_line": null, "start_side": null, "line": 2210, "original_line": 2210, "side": "RIGHT", "author_association": "NONE", "original_position": 30, "position": 30, "subject_type": "line"}}
{"time": "2024-09-06T23:03:32+00:00", "type": "timeline:reviewed", "payload": {"id": 2287259334, "node_id": "PRR_kwDOKNhT9c6IVM7G", "user": {"login": "github-advanced-security[bot]", "id": 62310815, "node_id": "MDM6Qm90NjIzMTA4MTU=", "avatar_url": "https://avatars.githubusercontent.com/in/57789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/github-advanced-security%5Bbot%5D", "html_url": "https://github.com/apps/github-advanced-security", "followers_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/followers", "following_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/repos", "events_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/github-advanced-security%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false}, "body": null, "commit_id": "28482f165850e2a9ab607b6f72db43936fff4063", "state": "commented", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#pullrequestreview-2287259334", "pull_request_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140", "_links": {"html": {"href": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#pullrequestreview-2287259334"}, "pull_request": {"href": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/pulls/140"}}, "submitted_at": "2024-09-06T23:03:32Z", "updated_at": "2024-09-06T23:03:32Z", "author_association": "NONE", "event": "reviewed"}}
{"time": "2024-11-12T15:11:14+00:00", "type": "comment", "payload": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2470796113", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#issuecomment-2470796113", "issue_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140", "id": 2470796113, "node_id": "IC_kwDOKNhT9c6TRVtR", "user": {"login": "ddneilson", "id": 53624638, "node_id": "MDQ6VXNlcjUzNjI0NjM4", "avatar_url": "https://avatars.githubusercontent.com/u/53624638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ddneilson", "html_url": "https://github.com/ddneilson", "followers_url": "https://api.github.com/users/ddneilson/followers", "following_url": "https://api.github.com/users/ddneilson/following{/other_user}", "gists_url": "https://api.github.com/users/ddneilson/gists{/gist_id}", "starred_url": "https://api.github.com/users/ddneilson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ddneilson/subscriptions", "organizations_url": "https://api.github.com/users/ddneilson/orgs", "repos_url": "https://api.github.com/users/ddneilson/repos", "events_url": "https://api.github.com/users/ddneilson/events{/privacy}", "received_events_url": "https://api.github.com/users/ddneilson/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "created_at": "2024-11-12T15:11:14Z", "updated_at": "2024-11-12T15:11:14Z", "author_association": "CONTRIBUTOR", "body": "Hi Jimmy. This has been sitting in draft state for a while, so I'm going to close it off. Please feel free to reopen if you'd like to continue it.", "reactions": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2470796113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": null, "pin": null}}
{"time": "2024-11-12T15:11:14+00:00", "type": "timeline:commented", "payload": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2470796113", "html_url": "https://github.com/OpenJobDescription/openjd-model-for-python/pull/140#issuecomment-2470796113", "issue_url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/140", "id": 2470796113, "node_id": "IC_kwDOKNhT9c6TRVtR", "user": {"login": "ddneilson", "id": 53624638, "node_id": "MDQ6VXNlcjUzNjI0NjM4", "avatar_url": "https://avatars.githubusercontent.com/u/53624638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ddneilson", "html_url": "https://github.com/ddneilson", "followers_url": "https://api.github.com/users/ddneilson/followers", "following_url": "https://api.github.com/users/ddneilson/following{/other_user}", "gists_url": "https://api.github.com/users/ddneilson/gists{/gist_id}", "starred_url": "https://api.github.com/users/ddneilson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ddneilson/subscriptions", "organizations_url": "https://api.github.com/users/ddneilson/orgs", "repos_url": "https://api.github.com/users/ddneilson/repos", "events_url": "https://api.github.com/users/ddneilson/events{/privacy}", "received_events_url": "https://api.github.com/users/ddneilson/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "created_at": "2024-11-12T15:11:14Z", "updated_at": "2024-11-12T15:11:14Z", "body": "Hi Jimmy. This has been sitting in draft state for a while, so I'm going to close it off. Please feel free to reopen if you'd like to continue it.", "author_association": "CONTRIBUTOR", "reactions": {"url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/comments/2470796113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": null, "event": "commented", "actor": {"login": "ddneilson", "id": 53624638, "node_id": "MDQ6VXNlcjUzNjI0NjM4", "avatar_url": "https://avatars.githubusercontent.com/u/53624638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ddneilson", "html_url": "https://github.com/ddneilson", "followers_url": "https://api.github.com/users/ddneilson/followers", "following_url": "https://api.github.com/users/ddneilson/following{/other_user}", "gists_url": "https://api.github.com/users/ddneilson/gists{/gist_id}", "starred_url": "https://api.github.com/users/ddneilson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ddneilson/subscriptions", "organizations_url": "https://api.github.com/users/ddneilson/orgs", "repos_url": "https://api.github.com/users/ddneilson/repos", "events_url": "https://api.github.com/users/ddneilson/events{/privacy}", "received_events_url": "https://api.github.com/users/ddneilson/received_events", "type": "User", "user_view_type": "public", "site_admin": false}}}
{"time": "2024-11-12T15:11:14+00:00", "type": "timeline:closed", "payload": {"id": 15266382497, "node_id": "CE_lADOKNhT9c6VrvVuzwAAAAON8oKh", "url": "https://api.github.com/repos/OpenJobDescription/openjd-model-for-python/issues/events/15266382497", "actor": {"login": "ddneilson", "id": 53624638, "node_id": "MDQ6VXNlcjUzNjI0NjM4", "avatar_url": "https://avatars.githubusercontent.com/u/53624638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ddneilson", "html_url": "https://github.com/ddneilson", "followers_url": "https://api.github.com/users/ddneilson/followers", "following_url": "https://api.github.com/users/ddneilson/following{/other_user}", "gists_url": "https://api.github.com/users/ddneilson/gists{/gist_id}", "starred_url": "https://api.github.com/users/ddneilson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ddneilson/subscriptions", "organizations_url": "https://api.github.com/users/ddneilson/orgs", "repos_url": "https://api.github.com/users/ddneilson/repos", "events_url": "https://api.github.com/users/ddneilson/events{/privacy}", "received_events_url": "https://api.github.com/users/ddneilson/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "event": "closed", "commit_id": null, "commit_url": null, "created_at": "2024-11-12T15:11:14Z", "state_reason": null, "performed_via_github_app": null}}