python-service-builder 2.1.0__tar.gz → 2.2.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.
Files changed (17) hide show
  1. {python_service_builder-2.1.0/python_service_builder.egg-info → python_service_builder-2.2.0}/PKG-INFO +1 -2
  2. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/pyproject.toml +1 -2
  3. {python_service_builder-2.1.0 → python_service_builder-2.2.0/python_service_builder.egg-info}/PKG-INFO +1 -2
  4. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/python_service_builder.egg-info/requires.txt +0 -1
  5. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/service_framework/__init_test.py +1 -14
  6. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/service_framework/service_builder.py +1 -1
  7. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/LICENSE +0 -0
  8. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/README.md +0 -0
  9. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/python_service_builder.egg-info/SOURCES.txt +0 -0
  10. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/python_service_builder.egg-info/dependency_links.txt +0 -0
  11. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/python_service_builder.egg-info/top_level.txt +0 -0
  12. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/service_framework/__init__.py +0 -0
  13. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/service_framework/service_finder.py +0 -0
  14. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/service_framework/services.py +0 -0
  15. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/service_framework/services_test.py +0 -0
  16. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/service_framework/update_services.py +0 -0
  17. {python_service_builder-2.1.0 → python_service_builder-2.2.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-service-builder
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Helper library for easier creation of Google services.
5
5
  Author-email: David Harcombe <david.harcombe@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -26,7 +26,6 @@ Requires-Dist: httplib2>=0.19.0
26
26
  Requires-Dist: immutabledict>=2.2.1
27
27
  Requires-Dist: oauth2client>=4.1.3
28
28
  Requires-Dist: oauthlib>=3.1.0
29
- Requires-Dist: web.py>=0.62
30
29
  Dynamic: license-file
31
30
 
32
31
  # Python Library for helping to create Python services from Google APIs
@@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'
4
4
 
5
5
  [project]
6
6
  name = "python-service-builder"
7
- version = "2.1.0"
7
+ version = "2.2.0"
8
8
  authors = [{ name = "David Harcombe", email = "david.harcombe@gmail.com" }]
9
9
  description = "Helper library for easier creation of Google services."
10
10
  readme = "README.md"
@@ -31,7 +31,6 @@ dependencies = [
31
31
  'immutabledict>=2.2.1',
32
32
  'oauth2client>=4.1.3',
33
33
  'oauthlib>=3.1.0',
34
- 'web.py>=0.62',
35
34
  ]
36
35
 
37
36
  [tool.setuptools]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-service-builder
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Helper library for easier creation of Google services.
5
5
  Author-email: David Harcombe <david.harcombe@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -26,7 +26,6 @@ Requires-Dist: httplib2>=0.19.0
26
26
  Requires-Dist: immutabledict>=2.2.1
27
27
  Requires-Dist: oauth2client>=4.1.3
28
28
  Requires-Dist: oauthlib>=3.1.0
29
- Requires-Dist: web.py>=0.62
30
29
  Dynamic: license-file
31
30
 
32
31
  # Python Library for helping to create Python services from Google APIs
@@ -13,4 +13,3 @@ httplib2>=0.19.0
13
13
  immutabledict>=2.2.1
14
14
  oauth2client>=4.1.3
15
15
  oauthlib>=3.1.0
16
- web.py>=0.62
@@ -17,20 +17,7 @@ from dataclasses import Field, dataclass
17
17
 
18
18
  from dataclasses_json import dataclass_json
19
19
 
20
- from service_framework import camel_field, lazy_property
21
-
22
-
23
- class LazyPropertyTest(unittest.TestCase):
24
- class Foo(object):
25
- @lazy_property
26
- def lazy_thing(self) -> str:
27
- return 'lazy'
28
-
29
- def test_lazy_thing(self):
30
- foo = LazyPropertyTest.Foo()
31
- self.assertFalse(hasattr(foo, '_lazy_lazy_thing'))
32
- self.assertEqual('lazy', foo.lazy_thing)
33
- self.assertTrue(hasattr(foo, '_lazy_lazy_thing'))
20
+ from service_framework import camel_field
34
21
 
35
22
 
36
23
  class CamelFieldTest(unittest.TestCase):
@@ -36,7 +36,7 @@ class OAuthKey(object):
36
36
 
37
37
  NOTE: This is by no means the entire key; just the fields neccessary for OAuth.
38
38
  """
39
- access_token: Optional[str] = snake_field(field_name='ken')
39
+ access_token: Optional[str] = snake_field(field_name='token')
40
40
  refresh_token: Optional[str] = snake_field()
41
41
  token_uri: Optional[str] = snake_field()
42
42
  client_id: Optional[str] = snake_field()