nteract/testbook

tb contains method

Ouverte

#97 ouverte le 14 avr. 2021

 (0 commentaire) (0 réaction) (0 personne assignée)Python (38 forks)auto 404
enhancementgood first issuesprint-friendly

Métriques du dépôt

Stars
 (435 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur