dagster-github 0.18.4__tar.gz → 0.18.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-github
3
- Version: 0.18.4
3
+ Version: 0.18.5
4
4
  Summary: A Github client resource for interacting with the github API with a github App
5
5
  Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-github
6
6
  Author: Elementl
@@ -58,7 +58,7 @@ class GithubResource:
58
58
  request = self.client.get(
59
59
  "https://api.github.com/app/installations"
60
60
  if self.hostname is None
61
- else "https://{}/api/v3/app/installations".format(self.hostname),
61
+ else f"https://{self.hostname}/api/v3/app/installations",
62
62
  headers=headers,
63
63
  )
64
64
  request.raise_for_status()
@@ -71,7 +71,7 @@ class GithubResource:
71
71
  headers["Authorization"] = "Bearer {}".format(self.app_token["value"])
72
72
  headers["Accept"] = "application/vnd.github.machine-man-preview+json"
73
73
  request = requests.post(
74
- "https://api.github.com/app/installations/{}/access_tokens".format(installation_id)
74
+ f"https://api.github.com/app/installations/{installation_id}/access_tokens"
75
75
  if self.hostname is None
76
76
  else "https://{}/api/v3/app/installations/{}/access_tokens".format(
77
77
  self.hostname, installation_id
@@ -103,7 +103,7 @@ class GithubResource:
103
103
  request = requests.post(
104
104
  "https://api.github.com/graphql"
105
105
  if self.hostname is None
106
- else "https://{}/api/graphql".format(self.hostname),
106
+ else f"https://{self.hostname}/api/graphql",
107
107
  json={"query": query, "variables": variables},
108
108
  headers=headers,
109
109
  )
@@ -0,0 +1 @@
1
+ __version__ = "0.18.5"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-github
3
- Version: 0.18.4
3
+ Version: 0.18.5
4
4
  Summary: A Github client resource for interacting with the github API with a github App
5
5
  Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-github
6
6
  Author: Elementl
@@ -1,3 +1,3 @@
1
- dagster==1.2.4
1
+ dagster==1.2.5
2
2
  pyjwt[crypto]
3
3
  requests
@@ -34,7 +34,7 @@ setup(
34
34
  ],
35
35
  packages=find_packages(exclude=["dagster_github_tests*"]),
36
36
  install_requires=[
37
- "dagster==1.2.4",
37
+ "dagster==1.2.5",
38
38
  # Using a Github app requires signing your own JWT :(
39
39
  # https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/
40
40
  "pyjwt[crypto]",
@@ -1 +0,0 @@
1
- __version__ = "0.18.4"
File without changes