nteract/testbook

tb contains method

Aperta

#97 aperta il 14 apr 2021

 (0 commenti) (0 reazioni) (0 assegnatari)Python (38 fork)auto 404
enhancementgood first issuesprint-friendly

Metriche repository

Star
 (435 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Also, it would be nice if the following check is supported: 'happy_fraction' in tb

Implement a __contains__ method which returns whether the variable/function is present in the notebook or not (in memory).

Originally posted by @rohitsanj in https://github.com/nteract/testbook/issues/96#issuecomment-819540146

Guida contributor