-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pydantic and user input models #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me besides my one comment
As part of the outputs, we'll need information about each billing period: Whether the rules engine included that billing period, and the UA for that billing period |
Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: Alan Pinkert <alanisaac@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: harry <harryzhu626@users.noreply.github.com>
Refactored docstrings to 72 character maximum. Refactored if-else statement. Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: Nate <axiomizer@users.noreply.github.com> Co-authored-by: harry <harryzhu626@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Jeff Korenstein <jkoren@users.noreply.github.com>
Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: harry <harryzhu626@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Jonathan Kwan <jkwan2011@users.noreply.github.com> Co-authored-by: Nate <axiomizer@users.noreply.github.com>
Co-authored-by: harry <harryzhu626@users.noreply.github.com> Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: KKaempen <KKaempen@users.noreply.github.com> Co-authored-by: Alan Pinkert <alanisaac@users.noreply.github.com>
75d26b4
to
a31f8de
Compare
…ata class Co-authored-by: Jonathan Kwan <jkwan2011@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com>
Co-authored-by: harry <harryzhu626@users.noreply.github.com>
date=row["Date"], temperature=row[weather_station] # type: ignore[arg-type] | ||
) | ||
result.append(item) | ||
dates.append(row["Date"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to pass this to strptime
?
Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Jonathan Kwan <jkwan2011@users.noreply.github.com>
* adding pydantic dependency * Added user input models. Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: Alan Pinkert <alanisaac@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: harry <harryzhu626@users.noreply.github.com> * Added SummaryOutput class. Refactored docstrings to 72 character maximum. Refactored if-else statement. Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: Nate <axiomizer@users.noreply.github.com> Co-authored-by: harry <harryzhu626@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Jeff Korenstein <jkoren@users.noreply.github.com> * black * Moved Pydantic models into split folder Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: harry <harryzhu626@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Jonathan Kwan <jkwan2011@users.noreply.github.com> Co-authored-by: Nate <axiomizer@users.noreply.github.com> * updated pydantic models * Refactor Home class in engine.py. * changes from this session * cleaned up code from halloween! * added SummaryInput to home * Fixed black Co-authored-by: harry <harryzhu626@users.noreply.github.com> Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: KKaempen <KKaempen@users.noreply.github.com> Co-authored-by: Alan Pinkert <alanisaac@users.noreply.github.com> * fix mypy * added entry point functions, inclusion code conversion, and weather data class Co-authored-by: Jonathan Kwan <jkwan2011@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> * updated tests based on new framework Co-authored-by: harry <harryzhu626@users.noreply.github.com> * fix lints * fixed datetime parsing Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: Jonathan Kwan <jkwan2011@users.noreply.github.com> * mypy fix --------- Co-authored-by: Jonathan Kwan <jkwan2011@users.noreply.github.com> Co-authored-by: Erika Nesse <erika-n@users.noreply.github.com> Co-authored-by: Alan Pinkert <alanisaac@users.noreply.github.com> Co-authored-by: Debajyoti Debnath <debajyotid2@users.noreply.github.com> Co-authored-by: harry <harryzhu626@users.noreply.github.com> Co-authored-by: Nate <axiomizer@users.noreply.github.com> Co-authored-by: Jeff Korenstein <jkoren@users.noreply.github.com> Co-authored-by: KKaempen <KKaempen@users.noreply.github.com>
Creating a PR from our work this week, to see CI status and as a reminder for next week.