rbx 3.21.0.dev177__tar.gz → 3.21.1.dev178__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.
Files changed (46) hide show
  1. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/PKG-INFO +1 -1
  2. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/pyproject.toml +2 -2
  3. rbx-3.21.1.dev178/rbx/__init__.py +1 -0
  4. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/reporting.py +31 -33
  5. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx.egg-info/PKG-INFO +1 -1
  6. rbx-3.21.0.dev177/rbx/__init__.py +0 -1
  7. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/LICENSE +0 -0
  8. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/README.md +0 -0
  9. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/auth/__init__.py +0 -0
  10. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/auth/decorators.py +0 -0
  11. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/auth/id_token.py +0 -0
  12. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/auth/keystore.py +0 -0
  13. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/auth/mock.py +0 -0
  14. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/aws/__init__.py +0 -0
  15. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/aws/s3.py +0 -0
  16. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/buildtools/__init__.py +0 -0
  17. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/buildtools/cli.py +0 -0
  18. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/buildtools/tasks/__init__.py +0 -0
  19. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/buildtools/tasks/ec2.py +0 -0
  20. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/buildtools/tasks/image.py +0 -0
  21. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/buildtools/tasks/misc.py +0 -0
  22. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/__init__.py +0 -0
  23. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/adsquare.py +0 -0
  24. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/broadsign.py +0 -0
  25. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/oxr.py +0 -0
  26. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/panels.py +0 -0
  27. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/place.py +0 -0
  28. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/clients/retry.py +0 -0
  29. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/exceptions.py +0 -0
  30. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/gcp/__init__.py +0 -0
  31. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/gcp/cloud_tasks.py +0 -0
  32. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/gcp/pubsub.py +0 -0
  33. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/gcp/storage.py +0 -0
  34. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/logging.py +0 -0
  35. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/settings.py +0 -0
  36. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/utils/__init__.py +0 -0
  37. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/utils/mdm.py +0 -0
  38. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/utils/vast.py +0 -0
  39. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/web/__init__.py +0 -0
  40. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx/web/handlers.py +0 -0
  41. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx.egg-info/SOURCES.txt +0 -0
  42. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx.egg-info/dependency_links.txt +0 -0
  43. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx.egg-info/entry_points.txt +0 -0
  44. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx.egg-info/requires.txt +0 -0
  45. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/rbx.egg-info/top_level.txt +0 -0
  46. {rbx-3.21.0.dev177 → rbx-3.21.1.dev178}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rbx
3
- Version: 3.21.0.dev177
3
+ Version: 3.21.1.dev178
4
4
  Summary: A collection of common tools for Scoota services.
5
5
  Author-email: The Scoota Engineering Team <engineering@scoota.com>
6
6
  License:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rbx"
7
- version = "3.21.0.dev177"
7
+ version = "3.21.1.dev178"
8
8
  description = "A collection of common tools for Scoota services."
9
9
  authors = [
10
10
  { name = "The Scoota Engineering Team", email = "engineering@scoota.com" }
@@ -80,7 +80,7 @@ homepage = "https://github.com/rockabox/rbx"
80
80
  repository = "https://github.com/rockabox/rbx.git"
81
81
 
82
82
  [tool.bumpversion]
83
- current_version = "3.21.0.dev177"
83
+ current_version = "3.21.1.dev178"
84
84
  commit = true
85
85
  parse = """
86
86
  (?P<major>\\d+)\\.
@@ -0,0 +1 @@
1
+ __version__ = "3.21.1.dev178"
@@ -28,27 +28,26 @@ class ReportingClient(Client):
28
28
  reports,
29
29
  campaign: int = None,
30
30
  company: str = None,
31
- api_version=None,
31
+ timezone: str = "Etc/UTC",
32
32
  ):
33
33
  """Create a scheduled job.
34
34
 
35
35
  Return the job_id of the job just created.
36
36
  """
37
- data = {
38
- "body": body,
39
- "campaign": campaign,
40
- "company": company,
41
- "cron": cron,
42
- "format": format,
43
- "name": name,
44
- "recipients": recipients,
45
- "reports": reports,
46
- }
47
-
48
- if api_version is not None:
49
- data["api_version"] = api_version
50
-
51
- response = self._post("schedule", data=data)
37
+ response = self._post(
38
+ "schedule",
39
+ data={
40
+ "body": body,
41
+ "campaign": campaign,
42
+ "company": company,
43
+ "cron": cron,
44
+ "format": format,
45
+ "name": name,
46
+ "recipients": recipients,
47
+ "reports": reports,
48
+ "timezone": timezone,
49
+ },
50
+ )
52
51
 
53
52
  return response.get("job_id")
54
53
 
@@ -78,25 +77,24 @@ class ReportingClient(Client):
78
77
  reports,
79
78
  campaign: int = None,
80
79
  company: str = None,
81
- api_version=None,
80
+ timezone: str = "Etc/UTC",
82
81
  ):
83
82
  """Update the scheduled job."""
84
- data = {
85
- "body": body,
86
- "campaign": campaign,
87
- "company": company,
88
- "cron": cron,
89
- "format": format,
90
- "job_id": job_id,
91
- "name": name,
92
- "recipients": recipients,
93
- "reports": reports,
94
- }
95
-
96
- if api_version is not None:
97
- data["api_version"] = api_version
98
-
99
- response = self._post("schedule", data=data)
83
+ response = self._post(
84
+ "schedule",
85
+ data={
86
+ "body": body,
87
+ "campaign": campaign,
88
+ "company": company,
89
+ "cron": cron,
90
+ "format": format,
91
+ "job_id": job_id,
92
+ "name": name,
93
+ "recipients": recipients,
94
+ "reports": reports,
95
+ "timezone": timezone,
96
+ },
97
+ )
100
98
 
101
99
  return response.get("job_id")
102
100
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rbx
3
- Version: 3.21.0.dev177
3
+ Version: 3.21.1.dev178
4
4
  Summary: A collection of common tools for Scoota services.
5
5
  Author-email: The Scoota Engineering Team <engineering@scoota.com>
6
6
  License:
@@ -1 +0,0 @@
1
- __version__ = "3.21.0.dev177"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes