joop 0.0.1__py3-none-any.whl → 0.0.2__py3-none-any.whl
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.
- joop/web/examples/table.py +7 -4
- joop/web/examples/view.py +2 -2
- joop/web/html.py +0 -1
- {joop-0.0.1.dist-info → joop-0.0.2.dist-info}/METADATA +2 -2
- {joop-0.0.1.dist-info → joop-0.0.2.dist-info}/RECORD +7 -7
- {joop-0.0.1.dist-info → joop-0.0.2.dist-info}/WHEEL +0 -0
- {joop-0.0.1.dist-info → joop-0.0.2.dist-info}/entry_points.txt +0 -0
joop/web/examples/table.py
CHANGED
|
@@ -120,10 +120,13 @@ class MyTablePage(HTMLComponent):
|
|
|
120
120
|
Represents subcomponents of the `MyTablePage`.
|
|
121
121
|
|
|
122
122
|
Attributes:
|
|
123
|
-
|
|
123
|
+
table (MyTableComponent): An instance of the `MyTableComponent`.
|
|
124
124
|
"""
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
table: MyTableComponent
|
|
126
|
+
|
|
127
|
+
def __init__(self):
|
|
128
|
+
super().__init__()
|
|
129
|
+
self.table = MyTableComponent()
|
|
127
130
|
|
|
128
131
|
class MyTableWholePage(View):
|
|
129
132
|
"""
|
|
@@ -134,7 +137,7 @@ class MyTableWholePage(View):
|
|
|
134
137
|
"""
|
|
135
138
|
_component_type = MyTablePage
|
|
136
139
|
|
|
137
|
-
class Endpoint():
|
|
140
|
+
class Endpoint(View.Endpoint):
|
|
138
141
|
"""
|
|
139
142
|
Defines the endpoint for the `MyTableWholePage` view.
|
|
140
143
|
|
joop/web/examples/view.py
CHANGED
|
@@ -15,7 +15,7 @@ class HelloView(View):
|
|
|
15
15
|
|
|
16
16
|
_component_type = HelloWorld
|
|
17
17
|
|
|
18
|
-
class Endpoint():
|
|
18
|
+
class Endpoint(View.Endpoint):
|
|
19
19
|
_url = HELLO_ROOT
|
|
20
20
|
_name = HELLO_DESIG
|
|
21
21
|
_methods = [HttpMethod.GET.value]
|
|
@@ -24,7 +24,7 @@ class NameView(View):
|
|
|
24
24
|
|
|
25
25
|
_component_type = HelloName
|
|
26
26
|
|
|
27
|
-
class Endpoint():
|
|
27
|
+
class Endpoint(View.Endpoint):
|
|
28
28
|
_url = HELLO_ROOT + "/<string:first_name>/<string:last_name>"
|
|
29
29
|
_name = HELLO_DESIG + "_name"
|
|
30
30
|
_methods = [HttpMethod.GET.value]
|
joop/web/html.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: joop
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: Justin's Object-Oriented Paradigms
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Keywords: object-oriented programming,DAO,HTMX,AlpineJS,Python
|
|
@@ -21,7 +21,7 @@ Requires-Dist: pydantic (>=2.12.5,<3.0.0)
|
|
|
21
21
|
Requires-Dist: sqlmodel (>=0.0.31,<0.0.32)
|
|
22
22
|
Project-URL: Homepage, https://github.com/rushinjgr/joop
|
|
23
23
|
Project-URL: bugs, https://github.com/rushinjgr/joop/issues
|
|
24
|
-
Project-URL: changelog, https://github.com/rushinjgr/joop/blob/master/python/docs/changelog.
|
|
24
|
+
Project-URL: changelog, https://github.com/rushinjgr/joop/blob/master/python/docs/source/changelog.rst
|
|
25
25
|
Project-URL: source, https://github.com/rushinjgr/joop
|
|
26
26
|
Description-Content-Type: text/markdown
|
|
27
27
|
|
|
@@ -19,13 +19,13 @@ joop/web/__init__.py,sha256=SXfAxuh96-w1uxlHd2NMfn7ThrSGOUU84cCXiZX6JzM,412
|
|
|
19
19
|
joop/web/component.py,sha256=oZO9tVhlXAlF4tn8tmtHp95SlPuD6-q8gezWOU4l9y0,5135
|
|
20
20
|
joop/web/components.py,sha256=74EUiZOO9yCJnFQYYyRREvZKeRsKgYpAJIHkzQdJ_vY,3772
|
|
21
21
|
joop/web/examples/hello.py,sha256=29c5EUjIZgHiD5-O5KC_40sO9D2Tg69QBvvOPLfQ4Qg,4824
|
|
22
|
-
joop/web/examples/table.py,sha256=
|
|
23
|
-
joop/web/examples/view.py,sha256=
|
|
24
|
-
joop/web/html.py,sha256=
|
|
22
|
+
joop/web/examples/table.py,sha256=eU8p5ePWKJ8XITtCGiGjC54mXPQ-aW2pWkJqFFy4X2o,4785
|
|
23
|
+
joop/web/examples/view.py,sha256=IVnnjxHKuAgQBNFnegWTDERmwUnhknPWtjcTczgNoc4,681
|
|
24
|
+
joop/web/html.py,sha256=3jJ_i7kIPICeYJEcBItjabeqgSg0F0DISGp8xsBTaOQ,7669
|
|
25
25
|
joop/web/j_env.py,sha256=Pj-DIVUFd4Rb_wSAqT3nfyyKtR9cW6kzCHSxF1d7BTg,1093
|
|
26
26
|
joop/web/templater.py,sha256=SnlSj0mf83KUiCWTh4-6s3UQtmrsFDngbqENZjc1SPQ,5010
|
|
27
27
|
joop/web/view.py,sha256=9DU_i1Hpeai_NDuhf17mGF0xoIUV7aSLE3zoisoRUGA,6833
|
|
28
|
-
joop-0.0.
|
|
29
|
-
joop-0.0.
|
|
30
|
-
joop-0.0.
|
|
31
|
-
joop-0.0.
|
|
28
|
+
joop-0.0.2.dist-info/METADATA,sha256=FxNchw1qtZIlhMtpZhPWHsOvRlCXkn9GrJFG9bb0Oog,3419
|
|
29
|
+
joop-0.0.2.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
30
|
+
joop-0.0.2.dist-info/entry_points.txt,sha256=EXfYHkMxWW2P6AJ4sLEljXmhALjKMGlyta2NNIPDtQw,38
|
|
31
|
+
joop-0.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|