diff --git a/.github/workflows/collect-user-submission.py b/.github/workflows/collect-user-submission.py index 0534153f..1b66f444 100644 --- a/.github/workflows/collect-user-submission.py +++ b/.github/workflows/collect-user-submission.py @@ -28,16 +28,15 @@ class IssueInfo: gh_event_path: pydantic.FilePath submission: Submission = pydantic.Field(default=None) - def __post_init_post_parse__(self): - with open(self.gh_event_path) as f: - self.data = json.load(f) - def create_submission(self): self._get_inputs() self._create_submission_input() return self def _get_inputs(self): + with open(self.gh_event_path) as f: + self.data = json.load(f) + self.author = self.data['issue']['user']['login'] self.title = self.data['issue']['title'] self.body = self.data['issue']['body'] diff --git a/portal/index.md b/portal/index.md index fc22ea2c..c019152c 100644 --- a/portal/index.md +++ b/portal/index.md @@ -149,9 +149,9 @@ the example data used by the [Pythia Foundations Book](https://foundations.proje ## Join us! -If you have questions or want to share anything with the Project -Pythia Team, please reach out to us through the [Project Pythia -category on the Pangeo Discourse forum](https://discourse.pangeo.io/c/education/project-pythia/) +If you have questions or want to share anything with the Project +Pythia Team, please reach out to us through the [Project Pythia +category on the Pangeo Discourse forum](https://discourse.pangeo.io/c/education/project-pythia/) below or join us at our [Weekly Working Group Meetings](#weekly-working-group-meetings).