From 730a0c7bc5a45733c6d31dc6eba2a7f64668ccfb Mon Sep 17 00:00:00 2001 From: Kenneth Cummings Date: Wed, 17 Jun 2020 15:02:47 +0200 Subject: [PATCH 1/2] graph_session.delete() gets wrong url and doesn't work --- msgraphcore/graph_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgraphcore/graph_session.py b/msgraphcore/graph_session.py index 775e2b81..c149e2bf 100644 --- a/msgraphcore/graph_session.py +++ b/msgraphcore/graph_session.py @@ -85,7 +85,7 @@ def delete(self, url, **kwargs): :param \*\*kwargs: Optional arguments that ``request`` takes. :rtype: requests.Response """ - return super().delete(url, **kwargs) + return super().delete(self._graph_url(url), **kwargs) def _graph_url(self, url: str) -> str: """Appends BASE_URL to user provided path From 39174192b0cba81cde362f96fe0b05cb099abefa Mon Sep 17 00:00:00 2001 From: Kenneth Cummings Date: Wed, 17 Jun 2020 15:20:49 +0200 Subject: [PATCH 2/2] fix toml file --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f63e91e3..066f5c8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["flit_core >=2,<3", "requests = 2.23.0"] +requires = ["flit_core >=2,<3", "requests >= 2.23.0"] build-backend = "flit_core.buildapi" [tool.flit.metadata]