@@ -248,6 +248,66 @@ def from_dict(d):
248
248
return Revenues (** d )
249
249
250
250
251
+ @modelclass
252
+ class NetIncomeLoss :
253
+ "Contains net income loss data for an income statement."
254
+ formula : Optional [str ] = None
255
+ label : Optional [str ] = None
256
+ order : Optional [int ] = None
257
+ unit : Optional [str ] = None
258
+ value : Optional [float ] = None
259
+ xpath : Optional [str ] = None
260
+
261
+ @staticmethod
262
+ def from_dict (d ):
263
+ return NetIncomeLoss (** d )
264
+
265
+
266
+ @modelclass
267
+ class NetIncomeLossAttributableToNoncontrollingInterest :
268
+ "Contains net income loss attributable to noncontrolling interest data for an income statement."
269
+ formula : Optional [str ] = None
270
+ label : Optional [str ] = None
271
+ order : Optional [int ] = None
272
+ unit : Optional [str ] = None
273
+ value : Optional [float ] = None
274
+ xpath : Optional [str ] = None
275
+
276
+ @staticmethod
277
+ def from_dict (d ):
278
+ return NetIncomeLossAttributableToNoncontrollingInterest (** d )
279
+
280
+
281
+ @modelclass
282
+ class NetIncomeLossAttributableToParent :
283
+ "Contains net income loss attributable to parent data for an income statement."
284
+ formula : Optional [str ] = None
285
+ label : Optional [str ] = None
286
+ order : Optional [int ] = None
287
+ unit : Optional [str ] = None
288
+ value : Optional [float ] = None
289
+ xpath : Optional [str ] = None
290
+
291
+ @staticmethod
292
+ def from_dict (d ):
293
+ return NetIncomeLossAttributableToParent (** d )
294
+
295
+
296
+ @modelclass
297
+ class NetIncomeLossAvailableToCommonStockholdersBasic :
298
+ "Contains net income loss available to common stockholders basic data for an income statement."
299
+ formula : Optional [str ] = None
300
+ label : Optional [str ] = None
301
+ order : Optional [int ] = None
302
+ unit : Optional [str ] = None
303
+ value : Optional [float ] = None
304
+ xpath : Optional [str ] = None
305
+
306
+ @staticmethod
307
+ def from_dict (d ):
308
+ return NetIncomeLossAvailableToCommonStockholdersBasic (** d )
309
+
310
+
251
311
@modelclass
252
312
class IncomeStatement :
253
313
"Contains income statement data."
@@ -256,6 +316,16 @@ class IncomeStatement:
256
316
gross_profit : Optional [GrossProfit ] = None
257
317
operating_expenses : Optional [OperatingExpenses ] = None
258
318
revenues : Optional [Revenues ] = None
319
+ net_income_loss : Optional [NetIncomeLoss ] = None
320
+ net_income_loss_attributable_to_noncontrolling_interest : Optional [
321
+ NetIncomeLossAttributableToNoncontrollingInterest
322
+ ] = None
323
+ net_income_loss_attributable_to_parent : Optional [
324
+ NetIncomeLossAttributableToParent
325
+ ] = None
326
+ net_income_loss_available_to_common_stockholders_basic : Optional [
327
+ NetIncomeLossAvailableToCommonStockholdersBasic
328
+ ] = None
259
329
260
330
@staticmethod
261
331
def from_dict (d ):
@@ -281,6 +351,32 @@ def from_dict(d):
281
351
else OperatingExpenses .from_dict (d ["operating_expenses" ])
282
352
),
283
353
revenues = None if "revenues" not in d else Revenues .from_dict (d ["revenues" ]),
354
+ net_income_loss = (
355
+ None
356
+ if "net_income_loss" not in d
357
+ else NetIncomeLoss .from_dict (d ["net_income_loss" ])
358
+ ),
359
+ net_income_loss_attributable_to_noncontrolling_interest = (
360
+ None
361
+ if "net_income_loss_attributable_to_noncontrolling_interest" not in d
362
+ else NetIncomeLoss .from_dict (
363
+ d ["net_income_loss_attributable_to_noncontrolling_interest" ]
364
+ )
365
+ ),
366
+ net_income_loss_attributable_to_parent = (
367
+ None
368
+ if "net_income_loss_attributable_to_parent" not in d
369
+ else NetIncomeLoss .from_dict (
370
+ d ["net_income_loss_attributable_to_parent" ]
371
+ )
372
+ ),
373
+ net_income_loss_available_to_common_stockholders_basic = (
374
+ None
375
+ if "net_income_loss_available_to_common_stockholders_basic" not in d
376
+ else NetIncomeLoss .from_dict (
377
+ d ["net_income_loss_available_to_common_stockholders_basic" ]
378
+ )
379
+ ),
284
380
)
285
381
286
382
0 commit comments