AnandInguva commented on PR #26225:
URL: https://github.com/apache/beam/pull/26225#issuecomment-1635928436

   > @AnandInguva I was getting 
apache_beam/testing/benchmarks/cloudml/criteo_tft/criteo_test.py:30: error: 
Incompatible types in assignment (expression has type "None", variable has type 
"Callable[[Any, Any], Any]") [assignment] error so I changed the import 
statement of fill in missing to account for None as fill_in_missing: 
Optional[Callable[[tf.sparse.SparseTensor, int], tf.Tensor]] = None . But now I 
am getting AttributeError: 'NoneType' object has no attribute 'sparse' because 
tf is not getting imported correctly and is present in the same try block. can 
you suggest some workaround for this or the original error?
   
   Thanks. I will take a look in some time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to