File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -371,24 +371,4 @@ def from_dict(d):
371
371
start_date = d .get ("start_date" ),
372
372
)
373
373
374
- # If we have an income_statement, try to pull out new fields
375
- if sf .financials and sf .financials .income_statement :
376
- income_stmt = sf .financials .income_statement
377
- net_income_dp = income_stmt .get ("net_income_loss" )
378
- if net_income_dp and net_income_dp .value is not None :
379
- sf .net_income_loss = net_income_dp .value
380
-
381
- diluted_eps_dp = income_stmt .get ("diluted_earnings_per_share" )
382
- if diluted_eps_dp and diluted_eps_dp .value is not None :
383
- sf .diluted_earnings_per_share = diluted_eps_dp .value
384
-
385
- # If we have a comprehensive_income, pull out net income (parent)
386
- if sf .financials and sf .financials .comprehensive_income :
387
- comp_inc = sf .financials .comprehensive_income
388
- net_income_parent_dp = comp_inc .get (
389
- "net_income_loss_attributable_to_parent"
390
- )
391
- if net_income_parent_dp and net_income_parent_dp .value is not None :
392
- sf .net_income_loss_attributable_to_parent = net_income_parent_dp .value
393
-
394
374
return sf
You can’t perform that action at this time.
0 commit comments