-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #928 from populationgenomics/dev
Release - ETL acessors, pip audit, Sonarqube & Metamist comments
- Loading branch information
Showing
158 changed files
with
7,952 additions
and
2,196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Security Checks | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
pip-audit: | ||
runs-on: ubuntu-latest | ||
name: Pip Audit | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pypa/gh-action-pip-audit@v1.1.0 | ||
with: | ||
inputs: requirements.txt requirements-dev.txt | ||
summary: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import strawberry | ||
|
||
from api.graphql.mutations.assay import AssayMutations | ||
from api.graphql.mutations.comment import CommentMutations | ||
from api.graphql.mutations.family import FamilyMutations | ||
from api.graphql.mutations.participant import ParticipantMutations | ||
from api.graphql.mutations.project import ProjectMutations | ||
from api.graphql.mutations.sample import SampleMutations | ||
from api.graphql.mutations.sequencing_group import SequencingGroupMutations | ||
|
||
|
||
@strawberry.type | ||
class Mutation: | ||
"""Mutation class""" | ||
|
||
# Comments | ||
@strawberry.field | ||
def comment(self) -> CommentMutations: | ||
"""Comment mutations""" | ||
return CommentMutations() | ||
|
||
# Samples | ||
@strawberry.field | ||
def sample(self) -> SampleMutations: | ||
"""Sample mutations""" | ||
return SampleMutations() | ||
|
||
# Assays | ||
@strawberry.field | ||
def assay(self) -> AssayMutations: | ||
"""Assay mutations""" | ||
return AssayMutations() | ||
|
||
# Participant | ||
@strawberry.field | ||
def participant(self) -> ParticipantMutations: | ||
"""Participant mutations""" | ||
return ParticipantMutations() | ||
|
||
# Family | ||
@strawberry.field | ||
def family(self) -> FamilyMutations: | ||
"""Family mutations""" | ||
return FamilyMutations() | ||
|
||
# Project | ||
@strawberry.field | ||
def project(self) -> ProjectMutations: | ||
"""Project mutations""" | ||
return ProjectMutations() | ||
|
||
# SequencingGroup | ||
@strawberry.field | ||
def sequencing_group(self) -> SequencingGroupMutations: | ||
"""Sequencing Group mutations""" | ||
return SequencingGroupMutations() |
Oops, something went wrong.