Skip to content
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

meta file #235

Merged
merged 14 commits into from
Aug 31, 2022
Merged

meta file #235

merged 14 commits into from
Aug 31, 2022

Conversation

rumpelsepp
Copy link
Member

@rumpelsepp rumpelsepp commented Aug 25, 2022

  • fix: Raise an exception when the connection is lost
  • feat: Silence the logs of sqlite
  • fix: Fix accidently renamed variables
  • feat: Add support for META file

@rumpelsepp rumpelsepp added the enhancement New feature or request label Aug 25, 2022
@rumpelsepp rumpelsepp added this to the v1.2.0 milestone Aug 25, 2022
src/gallia/command.py Outdated Show resolved Hide resolved
if self.ARTIFACTSDIR:
self.run_meta.exit_code = exit_code
self.run_meta.end_time = datetime.now(tz).isoformat()
data = msgspec.json.encode(self.run_meta)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does msgspec support pretty printing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, looks a bit like what @dataclass does.

>>> class Dog(Struct):
...    name: str
...    breed: str
...    is_good_boy: bool = True
Dog('snickers', breed='corgi')

src/gallia/command.py Outdated Show resolved Hide resolved
src/gallia/command.py Outdated Show resolved Hide resolved
@rumpelsepp rumpelsepp force-pushed the meta-file branch 4 times, most recently from 8652a73 to 58f3ab1 Compare August 31, 2022 12:46
@rumpelsepp rumpelsepp modified the milestones: v1.2.0, v1.1.0 Aug 31, 2022
@rumpelsepp rumpelsepp force-pushed the meta-file branch 3 times, most recently from caaa50b to c83171d Compare August 31, 2022 16:16
@rumpelsepp rumpelsepp merged commit 632877b into master Aug 31, 2022
@rumpelsepp rumpelsepp deleted the meta-file branch August 31, 2022 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants