@@ -36,6 +36,12 @@ def print_vip_attrs(self):
36
36
37
37
38
38
class User (Entity ):
39
+
40
+ class Meta :
41
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
42
+ region = "us-east-1"
43
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
44
+
39
45
lookup_index = LookupIndex ()
40
46
41
47
@property
@@ -44,6 +50,12 @@ def user_id(self) -> str:
44
50
45
51
46
52
class Video (Entity ):
53
+
54
+ class Meta :
55
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
56
+ region = "us-east-1"
57
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
58
+
47
59
lookup_index = LookupIndex ()
48
60
49
61
@property
@@ -52,6 +64,12 @@ def video_id(self) -> str:
52
64
53
65
54
66
class Channel (Entity ):
67
+
68
+ class Meta :
69
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
70
+ region = "us-east-1"
71
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
72
+
55
73
lookup_index = LookupIndex ()
56
74
57
75
@property
@@ -60,6 +78,12 @@ def channel_id(self) -> str:
60
78
61
79
62
80
class Playlist (Entity ):
81
+
82
+ class Meta :
83
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
84
+ region = "us-east-1"
85
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
86
+
63
87
lookup_index = LookupIndex ()
64
88
65
89
@property
@@ -68,6 +92,12 @@ def playlist_id(self) -> str:
68
92
69
93
70
94
class VideoOwnership (Entity ):
95
+
96
+ class Meta :
97
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
98
+ region = "us-east-1"
99
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
100
+
71
101
lookup_index = LookupIndex ()
72
102
73
103
@property
@@ -80,6 +110,12 @@ def user_id(self) -> str:
80
110
81
111
82
112
class ChannelOwnership (Entity ):
113
+
114
+ class Meta :
115
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
116
+ region = "us-east-1"
117
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
118
+
83
119
lookup_index = LookupIndex ()
84
120
85
121
@property
@@ -92,6 +128,12 @@ def user_id(self) -> str:
92
128
93
129
94
130
class PlaylistOwnership (Entity ):
131
+
132
+ class Meta :
133
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
134
+ region = "us-east-1"
135
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
136
+
95
137
lookup_index = LookupIndex ()
96
138
97
139
@property
@@ -104,6 +146,12 @@ def user_id(self) -> str:
104
146
105
147
106
148
class VideoChannelAssociation (Entity ):
149
+
150
+ class Meta :
151
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
152
+ region = "us-east-1"
153
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
154
+
107
155
lookup_index = LookupIndex ()
108
156
109
157
@property
@@ -116,6 +164,12 @@ def channel_id(self) -> str:
116
164
117
165
118
166
class VideoPlaylistAssociation (Entity ):
167
+
168
+ class Meta :
169
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
170
+ region = "us-east-1"
171
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
172
+
119
173
lookup_index = LookupIndex ()
120
174
121
175
@property
@@ -128,6 +182,12 @@ def playlist_id(self) -> str:
128
182
129
183
130
184
class ViewerSubscribeYoutuber (Entity ):
185
+
186
+ class Meta :
187
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
188
+ region = "us-east-1"
189
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
190
+
131
191
lookup_index = LookupIndex ()
132
192
133
193
@property
@@ -140,6 +200,12 @@ def youtuber_id(self) -> str:
140
200
141
201
142
202
class ViewerSubscribeChannel (Entity ):
203
+
204
+ class Meta :
205
+ table_name = f"pynamodb-mate-test-youtube-entity-{ PY_VER } -{ PYNAMODB_VER } "
206
+ region = "us-east-1"
207
+ billing_mode = pm .constants .PAY_PER_REQUEST_BILLING_MODE
208
+
143
209
lookup_index = LookupIndex ()
144
210
145
211
@property
0 commit comments