File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff 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' ]
Original file line number Diff line number Diff 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/ )
155155below 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 " >
You can’t perform that action at this time.
0 commit comments