Skip to content

Commit 9e44748

Browse files
authored
Merge 2821eba into 161e691
2 parents 161e691 + 2821eba commit 9e44748

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/collect-user-submission.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@ class IssueInfo:
2828
gh_event_path: pydantic.FilePath
2929
submission: Submission = pydantic.Field(default=None)
3030

31-
def __post_init_post_parse__(self):
32-
with open(self.gh_event_path) as f:
33-
self.data = json.load(f)
34-
3531
def create_submission(self):
3632
self._get_inputs()
3733
self._create_submission_input()
3834
return self
3935

4036
def _get_inputs(self):
37+
with open(self.gh_event_path) as f:
38+
self.data = json.load(f)
39+
4140
self.author = self.data['issue']['user']['login']
4241
self.title = self.data['issue']['title']
4342
self.body = self.data['issue']['body']

portal/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ the example data used by the [Pythia Foundations Book](https://foundations.proje
149149

150150
## Join us!
151151

152-
If you have questions or want to share anything with the Project
153-
Pythia Team, please reach out to us through the [Project Pythia
154-
category on the Pangeo Discourse forum](https://discourse.pangeo.io/c/education/project-pythia/)
152+
If you have questions or want to share anything with the Project
153+
Pythia Team, please reach out to us through the [Project Pythia
154+
category on the Pangeo Discourse forum](https://discourse.pangeo.io/c/education/project-pythia/)
155155
below or join us at our [Weekly Working Group Meetings](#weekly-working-group-meetings).
156156

157157
<span class="d-flex justify-content-center pt-1 pb-4">

0 commit comments

Comments
 (0)