wintertoo 1.4.0__tar.gz → 1.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of wintertoo might be problematic. Click here for more details.

Files changed (37) hide show
  1. {wintertoo-1.4.0 → wintertoo-1.5.0}/PKG-INFO +1 -1
  2. {wintertoo-1.4.0 → wintertoo-1.5.0}/pyproject.toml +1 -1
  3. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/data/__init__.py +1 -1
  4. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/models/image.py +5 -3
  5. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo.egg-info/PKG-INFO +1 -1
  6. {wintertoo-1.4.0 → wintertoo-1.5.0}/.github/dependabot.yml +0 -0
  7. {wintertoo-1.4.0 → wintertoo-1.5.0}/.github/workflows/automerge.yml +0 -0
  8. {wintertoo-1.4.0 → wintertoo-1.5.0}/.github/workflows/black.yml +0 -0
  9. {wintertoo-1.4.0 → wintertoo-1.5.0}/.github/workflows/continuous_integration.yml +0 -0
  10. {wintertoo-1.4.0 → wintertoo-1.5.0}/.github/workflows/isort.yml +0 -0
  11. {wintertoo-1.4.0 → wintertoo-1.5.0}/.github/workflows/pylint.yml +0 -0
  12. {wintertoo-1.4.0 → wintertoo-1.5.0}/.gitignore +0 -0
  13. {wintertoo-1.4.0 → wintertoo-1.5.0}/.pre-commit-config.yaml +0 -0
  14. {wintertoo-1.4.0 → wintertoo-1.5.0}/LICENSE +0 -0
  15. {wintertoo-1.4.0 → wintertoo-1.5.0}/README.md +0 -0
  16. {wintertoo-1.4.0 → wintertoo-1.5.0}/setup.cfg +0 -0
  17. {wintertoo-1.4.0 → wintertoo-1.5.0}/tests/test_fields.py +0 -0
  18. {wintertoo-1.4.0 → wintertoo-1.5.0}/tests/test_schedule.py +0 -0
  19. {wintertoo-1.4.0 → wintertoo-1.5.0}/tests/testdata/test_schedule.json +0 -0
  20. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/__init__.py +0 -0
  21. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/data/observing_request_schema.json +0 -0
  22. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/data/summer_fields.txt +0 -0
  23. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/data/winter_fields.txt +0 -0
  24. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/database.py +0 -0
  25. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/errors.py +0 -0
  26. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/fields.py +0 -0
  27. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/models/__init__.py +0 -0
  28. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/models/program.py +0 -0
  29. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/models/too.py +0 -0
  30. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/schedule.py +0 -0
  31. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/submit.py +0 -0
  32. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/utils.py +0 -0
  33. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo/validate.py +0 -0
  34. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo.egg-info/SOURCES.txt +0 -0
  35. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo.egg-info/dependency_links.txt +0 -0
  36. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo.egg-info/requires.txt +0 -0
  37. {wintertoo-1.4.0 → wintertoo-1.5.0}/wintertoo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wintertoo
3
- Version: 1.4.0
3
+ Version: 1.5.0
4
4
  Author-email: Robert Stein <rdstein@caltech.edu>, Danielle Frostig <frostig@mit.edu>, Viraj Karambelkar <viraj@astro.caltech.edu>
5
5
  License: MIT
6
6
  Project-URL: homepage, https://github.com/winter-telescope/wintertoo
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "wintertoo"
7
- version = "1.4.0"
7
+ version = "1.5.0"
8
8
  description = ""
9
9
  authors = [
10
10
  {name = "Robert Stein", email = "rdstein@caltech.edu"},
@@ -32,7 +32,7 @@ WINTER_BASE_WIDTH = 1.0
32
32
 
33
33
  MAX_TARGNAME_LEN = 30
34
34
 
35
- WinterImageTypes = Literal["exposure", "raw", "science", "stack", "diff"]
35
+ WinterImageTypes = Literal["exposure", "raw", "science", "stack", "diff", "avro"]
36
36
  DEFAULT_IMAGE_TYPE = "stack"
37
37
 
38
38
  PROGRAM_DB_HOST = "jagati.caltech.edu"
@@ -6,7 +6,7 @@ from typing import Optional
6
6
 
7
7
  from astropy import units as u
8
8
  from astropy.time import Time
9
- from pydantic import BaseModel, Field, model_validator
9
+ from pydantic import AliasChoices, BaseModel, Field, model_validator
10
10
 
11
11
  from wintertoo.data import DEFAULT_IMAGE_TYPE, MAX_TARGNAME_LEN, WinterImageTypes
12
12
  from wintertoo.errors import WinterValidationError
@@ -39,8 +39,10 @@ class ProgramImageQuery(BaseModel):
39
39
  default=get_date(Time.now()),
40
40
  examples=[get_date(Time.now() - 30.0 * u.day), get_date(Time.now())],
41
41
  )
42
- kind: WinterImageTypes = Field(
43
- default=DEFAULT_IMAGE_TYPE, example="raw/science/diff"
42
+ image_type: WinterImageTypes = Field(
43
+ default=DEFAULT_IMAGE_TYPE,
44
+ example="raw/science/diff",
45
+ validation_alias=AliasChoices("image_type", "kind"),
44
46
  )
45
47
 
46
48
  @model_validator(mode="after")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wintertoo
3
- Version: 1.4.0
3
+ Version: 1.5.0
4
4
  Author-email: Robert Stein <rdstein@caltech.edu>, Danielle Frostig <frostig@mit.edu>, Viraj Karambelkar <viraj@astro.caltech.edu>
5
5
  License: MIT
6
6
  Project-URL: homepage, https://github.com/winter-telescope/wintertoo
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes