ft3 0.2.2__tar.gz → 0.2.3__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 (111) hide show
  1. {ft3-0.2.2 → ft3-0.2.3}/PKG-INFO +1 -1
  2. {ft3-0.2.2 → ft3-0.2.3}/pyproject.toml +1 -1
  3. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/__init__.py +1 -1
  4. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/events/obj.py +15 -4
  5. {ft3-0.2.2 → ft3-0.2.3}/src/ft3.egg-info/PKG-INFO +1 -1
  6. {ft3-0.2.2 → ft3-0.2.3}/LICENSE +0 -0
  7. {ft3-0.2.2 → ft3-0.2.3}/README.md +0 -0
  8. {ft3-0.2.2 → ft3-0.2.3}/setup.cfg +0 -0
  9. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/__init__.py +0 -0
  10. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/cfg.py +0 -0
  11. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/enm.py +0 -0
  12. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/events/__init__.py +0 -0
  13. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/events/cfg.py +0 -0
  14. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/events/enm.py +0 -0
  15. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/events/exc.py +0 -0
  16. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/events/lib.py +0 -0
  17. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/events/utl.py +0 -0
  18. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/exc.py +0 -0
  19. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/lib.py +0 -0
  20. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/obj.py +0 -0
  21. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/server/__init__.py +0 -0
  22. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/server/cfg.py +0 -0
  23. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/server/lib.py +0 -0
  24. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/server/obj.py +0 -0
  25. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/static/__init__.py +0 -0
  26. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/static/favicon.ico +0 -0
  27. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/static/swagger.html +0 -0
  28. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/typ.py +0 -0
  29. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/api/utl.py +0 -0
  30. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/cli/__init__.py +0 -0
  31. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/cli/cfg.py +0 -0
  32. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/cli/lib.py +0 -0
  33. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/cli/obj.py +0 -0
  34. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/cli/utl.py +0 -0
  35. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/__init__.py +0 -0
  36. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/cfg.py +0 -0
  37. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/codecs/__init__.py +0 -0
  38. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/codecs/cfg.py +0 -0
  39. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/codecs/enm.py +0 -0
  40. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/codecs/lib.py +0 -0
  41. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/codecs/typ.py +0 -0
  42. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/codecs/utl.py +0 -0
  43. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/enm.py +0 -0
  44. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/exc.py +0 -0
  45. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/lib.py +0 -0
  46. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/__init__.py +0 -0
  47. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/cfg.py +0 -0
  48. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/enm.py +0 -0
  49. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/exc.py +0 -0
  50. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/lib.py +0 -0
  51. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/obj.py +0 -0
  52. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/typ.py +0 -0
  53. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/strings/utl.py +0 -0
  54. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/__init__.py +0 -0
  55. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/cfg.py +0 -0
  56. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/lib.py +0 -0
  57. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/obj.py +0 -0
  58. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/typ.py +0 -0
  59. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/utl/__init__.py +0 -0
  60. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/utl/check.py +0 -0
  61. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/core/typ/utl/hint.py +0 -0
  62. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/__init__.py +0 -0
  63. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/cfg.py +0 -0
  64. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/enm.py +0 -0
  65. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/lib.py +0 -0
  66. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/obj.py +0 -0
  67. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/static/__init__.py +0 -0
  68. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/static/conf.tpl +0 -0
  69. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/static/favicon.ico +0 -0
  70. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/static/logo.png +0 -0
  71. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/docs/utl.py +0 -0
  72. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/loggers/__init__.py +0 -0
  73. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/loggers/cfg.py +0 -0
  74. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/loggers/exc.py +0 -0
  75. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/loggers/lib.py +0 -0
  76. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/loggers/obj.py +0 -0
  77. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/loggers/typ.py +0 -0
  78. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/loggers/utl.py +0 -0
  79. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/__init__.py +0 -0
  80. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/cfg.py +0 -0
  81. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/enm.py +0 -0
  82. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/exc.py +0 -0
  83. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/fields/__init__.py +0 -0
  84. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/fields/obj.py +0 -0
  85. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/lib.py +0 -0
  86. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/metas/__init__.py +0 -0
  87. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/metas/obj.py +0 -0
  88. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/metas/utl.py +0 -0
  89. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/objs/__init__.py +0 -0
  90. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/objs/obj.py +0 -0
  91. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/queries/__init__.py +0 -0
  92. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/queries/obj.py +0 -0
  93. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/typ.py +0 -0
  94. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/objects/utl.py +0 -0
  95. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/py.typed +0 -0
  96. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/__init__.py +0 -0
  97. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/api/__init__.py +0 -0
  98. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/api/pets.py +0 -0
  99. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/api/petwithpets.py +0 -0
  100. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/pkg/__init__.py +0 -0
  101. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/pkg/clients.py +0 -0
  102. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/pkg/enm.py +0 -0
  103. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/pkg/exc.py +0 -0
  104. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/pkg/lib.py +0 -0
  105. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/pkg/obj.py +0 -0
  106. {ft3-0.2.2 → ft3-0.2.3}/src/ft3/template/pkg/typ.py +0 -0
  107. {ft3-0.2.2 → ft3-0.2.3}/src/ft3.egg-info/SOURCES.txt +0 -0
  108. {ft3-0.2.2 → ft3-0.2.3}/src/ft3.egg-info/dependency_links.txt +0 -0
  109. {ft3-0.2.2 → ft3-0.2.3}/src/ft3.egg-info/entry_points.txt +0 -0
  110. {ft3-0.2.2 → ft3-0.2.3}/src/ft3.egg-info/requires.txt +0 -0
  111. {ft3-0.2.2 → ft3-0.2.3}/src/ft3.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ft3
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Zero-dependency Python framework for object oriented development.
5
5
  Author-email: Dan <dan@1howardcapital.com>
6
6
  Maintainer-email: Dan <dan@1howardcapital.com>
@@ -24,7 +24,7 @@ keywords = [
24
24
  "swagger",
25
25
  ]
26
26
  readme = "README.md"
27
- version = "0.2.2"
27
+ version = "0.2.3"
28
28
  classifiers = [
29
29
  "Development Status :: 3 - Alpha",
30
30
  "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
@@ -47,7 +47,7 @@ __all__ = (
47
47
  'Object'
48
48
  )
49
49
 
50
- __version__ = '0.2.2'
50
+ __version__ = '0.2.3'
51
51
 
52
52
  from . import core
53
53
  from . import cli
@@ -237,11 +237,22 @@ class Request(Object):
237
237
  ) != Constants.UNDEFINED
238
238
  and param.schema is not None
239
239
  and (
240
- cname := core.strings.utl.cname_for(
241
- param.name,
242
- obj_.fields
240
+ (
241
+ cname := core.strings.utl.cname_for(
242
+ param.name,
243
+ obj_.fields
244
+ )
245
+ ) is not None
246
+ or (
247
+ obj_.__name__.lower() + 'Id' == param.name
248
+ and (
249
+ cname := core.strings.utl.cname_for(
250
+ 'id',
251
+ obj_.fields
252
+ )
253
+ ) is not None
243
254
  )
244
- ) is not None
255
+ )
245
256
  and param.in_ == enm.ParameterLocation.query.value
246
257
  and (
247
258
  method == Constants.PATCH
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ft3
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Zero-dependency Python framework for object oriented development.
5
5
  Author-email: Dan <dan@1howardcapital.com>
6
6
  Maintainer-email: Dan <dan@1howardcapital.com>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes