@@ -37,7 +37,6 @@ class MetaOapg:
3737 required = {
3838 "symbol" ,
3939 "total_tokens_bought" ,
40- "thumbnail" ,
4140 "total_buys" ,
4241 "total_sells" ,
4342 "avg_cost_of_quantity_sold" ,
@@ -46,13 +45,13 @@ class MetaOapg:
4645 "avg_sell_price_usd" ,
4746 "total_usd_invested" ,
4847 "realized_profit_usd" ,
48+ "possible_spam" ,
4949 "realized_profit_percentage" ,
5050 "decimals" ,
5151 "avg_buy_price_usd" ,
5252 "name" ,
5353 "total_tokens_sold" ,
5454 "logo" ,
55- "logo_hash" ,
5655 "total_sold_usd" ,
5756 }
5857
@@ -74,8 +73,6 @@ class properties:
7473 symbol = schemas .StrSchema
7574 decimals = schemas .StrSchema
7675 logo = schemas .StrSchema
77- logo_hash = schemas .StrSchema
78- thumbnail = schemas .StrSchema
7976 possible_spam = schemas .BoolSchema
8077 __annotations__ = {
8178 "token_address" : token_address ,
@@ -95,14 +92,11 @@ class properties:
9592 "symbol" : symbol ,
9693 "decimals" : decimals ,
9794 "logo" : logo ,
98- "logo_hash" : logo_hash ,
99- "thumbnail" : thumbnail ,
10095 "possible_spam" : possible_spam ,
10196 }
10297
10398 symbol : MetaOapg .properties .symbol
10499 total_tokens_bought : MetaOapg .properties .total_tokens_bought
105- thumbnail : MetaOapg .properties .thumbnail
106100 total_buys : MetaOapg .properties .total_buys
107101 total_sells : MetaOapg .properties .total_sells
108102 avg_cost_of_quantity_sold : MetaOapg .properties .avg_cost_of_quantity_sold
@@ -111,13 +105,13 @@ class properties:
111105 avg_sell_price_usd : MetaOapg .properties .avg_sell_price_usd
112106 total_usd_invested : MetaOapg .properties .total_usd_invested
113107 realized_profit_usd : MetaOapg .properties .realized_profit_usd
108+ possible_spam : MetaOapg .properties .possible_spam
114109 realized_profit_percentage : MetaOapg .properties .realized_profit_percentage
115110 decimals : MetaOapg .properties .decimals
116111 avg_buy_price_usd : MetaOapg .properties .avg_buy_price_usd
117112 name : MetaOapg .properties .name
118113 total_tokens_sold : MetaOapg .properties .total_tokens_sold
119114 logo : MetaOapg .properties .logo
120- logo_hash : MetaOapg .properties .logo_hash
121115 total_sold_usd : MetaOapg .properties .total_sold_usd
122116
123117 @typing .overload
@@ -171,19 +165,13 @@ def __getitem__(self, name: typing_extensions.Literal["decimals"]) -> MetaOapg.p
171165 @typing .overload
172166 def __getitem__ (self , name : typing_extensions .Literal ["logo" ]) -> MetaOapg .properties .logo : ...
173167
174- @typing .overload
175- def __getitem__ (self , name : typing_extensions .Literal ["logo_hash" ]) -> MetaOapg .properties .logo_hash : ...
176-
177- @typing .overload
178- def __getitem__ (self , name : typing_extensions .Literal ["thumbnail" ]) -> MetaOapg .properties .thumbnail : ...
179-
180168 @typing .overload
181169 def __getitem__ (self , name : typing_extensions .Literal ["possible_spam" ]) -> MetaOapg .properties .possible_spam : ...
182170
183171 @typing .overload
184172 def __getitem__ (self , name : str ) -> schemas .UnsetAnyTypeSchema : ...
185173
186- def __getitem__ (self , name : typing .Union [typing_extensions .Literal ["token_address" , "avg_buy_price_usd" , "avg_sell_price_usd" , "total_usd_invested" , "total_tokens_sold" , "total_tokens_bought" , "total_sold_usd" , "avg_cost_of_quantity_sold" , "count_of_trades" , "realized_profit_usd" , "realized_profit_percentage" , "total_buys" , "total_sells" , "name" , "symbol" , "decimals" , "logo" , "logo_hash" , "thumbnail" , " possible_spam" , ], str ]):
174+ def __getitem__ (self , name : typing .Union [typing_extensions .Literal ["token_address" , "avg_buy_price_usd" , "avg_sell_price_usd" , "total_usd_invested" , "total_tokens_sold" , "total_tokens_bought" , "total_sold_usd" , "avg_cost_of_quantity_sold" , "count_of_trades" , "realized_profit_usd" , "realized_profit_percentage" , "total_buys" , "total_sells" , "name" , "symbol" , "decimals" , "logo" , "possible_spam" , ], str ]):
187175 # dict_instance[name] accessor
188176 return super ().__getitem__ (name )
189177
@@ -240,18 +228,12 @@ def get_item_oapg(self, name: typing_extensions.Literal["decimals"]) -> MetaOapg
240228 def get_item_oapg (self , name : typing_extensions .Literal ["logo" ]) -> MetaOapg .properties .logo : ...
241229
242230 @typing .overload
243- def get_item_oapg (self , name : typing_extensions .Literal ["logo_hash" ]) -> MetaOapg .properties .logo_hash : ...
244-
245- @typing .overload
246- def get_item_oapg (self , name : typing_extensions .Literal ["thumbnail" ]) -> MetaOapg .properties .thumbnail : ...
247-
248- @typing .overload
249- def get_item_oapg (self , name : typing_extensions .Literal ["possible_spam" ]) -> typing .Union [MetaOapg .properties .possible_spam , schemas .Unset ]: ...
231+ def get_item_oapg (self , name : typing_extensions .Literal ["possible_spam" ]) -> MetaOapg .properties .possible_spam : ...
250232
251233 @typing .overload
252234 def get_item_oapg (self , name : str ) -> typing .Union [schemas .UnsetAnyTypeSchema , schemas .Unset ]: ...
253235
254- def get_item_oapg (self , name : typing .Union [typing_extensions .Literal ["token_address" , "avg_buy_price_usd" , "avg_sell_price_usd" , "total_usd_invested" , "total_tokens_sold" , "total_tokens_bought" , "total_sold_usd" , "avg_cost_of_quantity_sold" , "count_of_trades" , "realized_profit_usd" , "realized_profit_percentage" , "total_buys" , "total_sells" , "name" , "symbol" , "decimals" , "logo" , "logo_hash" , "thumbnail" , " possible_spam" , ], str ]):
236+ def get_item_oapg (self , name : typing .Union [typing_extensions .Literal ["token_address" , "avg_buy_price_usd" , "avg_sell_price_usd" , "total_usd_invested" , "total_tokens_sold" , "total_tokens_bought" , "total_sold_usd" , "avg_cost_of_quantity_sold" , "count_of_trades" , "realized_profit_usd" , "realized_profit_percentage" , "total_buys" , "total_sells" , "name" , "symbol" , "decimals" , "logo" , "possible_spam" , ], str ]):
255237 return super ().get_item_oapg (name )
256238
257239
@@ -260,7 +242,6 @@ def __new__(
260242 * args : typing .Union [dict , frozendict .frozendict , ],
261243 symbol : typing .Union [MetaOapg .properties .symbol , str , ],
262244 total_tokens_bought : typing .Union [MetaOapg .properties .total_tokens_bought , str , ],
263- thumbnail : typing .Union [MetaOapg .properties .thumbnail , str , ],
264245 total_buys : typing .Union [MetaOapg .properties .total_buys , decimal .Decimal , int , float , ],
265246 total_sells : typing .Union [MetaOapg .properties .total_sells , decimal .Decimal , int , float , ],
266247 avg_cost_of_quantity_sold : typing .Union [MetaOapg .properties .avg_cost_of_quantity_sold , str , ],
@@ -269,15 +250,14 @@ def __new__(
269250 avg_sell_price_usd : typing .Union [MetaOapg .properties .avg_sell_price_usd , str , ],
270251 total_usd_invested : typing .Union [MetaOapg .properties .total_usd_invested , str , ],
271252 realized_profit_usd : typing .Union [MetaOapg .properties .realized_profit_usd , str , ],
253+ possible_spam : typing .Union [MetaOapg .properties .possible_spam , bool , ],
272254 realized_profit_percentage : typing .Union [MetaOapg .properties .realized_profit_percentage , decimal .Decimal , int , float , ],
273255 decimals : typing .Union [MetaOapg .properties .decimals , str , ],
274256 avg_buy_price_usd : typing .Union [MetaOapg .properties .avg_buy_price_usd , str , ],
275257 name : typing .Union [MetaOapg .properties .name , str , ],
276258 total_tokens_sold : typing .Union [MetaOapg .properties .total_tokens_sold , str , ],
277259 logo : typing .Union [MetaOapg .properties .logo , str , ],
278- logo_hash : typing .Union [MetaOapg .properties .logo_hash , str , ],
279260 total_sold_usd : typing .Union [MetaOapg .properties .total_sold_usd , str , ],
280- possible_spam : typing .Union [MetaOapg .properties .possible_spam , bool , schemas .Unset ] = schemas .unset ,
281261 _configuration : typing .Optional [schemas .Configuration ] = None ,
282262 ** kwargs : typing .Union [schemas .AnyTypeSchema , dict , frozendict .frozendict , str , date , datetime , uuid .UUID , int , float , decimal .Decimal , None , list , tuple , bytes ],
283263 ) -> 'WalletProfitabilityTokenData' :
@@ -286,7 +266,6 @@ def __new__(
286266 * args ,
287267 symbol = symbol ,
288268 total_tokens_bought = total_tokens_bought ,
289- thumbnail = thumbnail ,
290269 total_buys = total_buys ,
291270 total_sells = total_sells ,
292271 avg_cost_of_quantity_sold = avg_cost_of_quantity_sold ,
@@ -295,15 +274,14 @@ def __new__(
295274 avg_sell_price_usd = avg_sell_price_usd ,
296275 total_usd_invested = total_usd_invested ,
297276 realized_profit_usd = realized_profit_usd ,
277+ possible_spam = possible_spam ,
298278 realized_profit_percentage = realized_profit_percentage ,
299279 decimals = decimals ,
300280 avg_buy_price_usd = avg_buy_price_usd ,
301281 name = name ,
302282 total_tokens_sold = total_tokens_sold ,
303283 logo = logo ,
304- logo_hash = logo_hash ,
305284 total_sold_usd = total_sold_usd ,
306- possible_spam = possible_spam ,
307285 _configuration = _configuration ,
308286 ** kwargs ,
309287 )
0 commit comments