nteract/testbook

tb contains method

Aberta

#97 aberto em 14 de abr. de 2021

 (0 comentário) (0 reação) (0 responsável)Python (38 forks)auto 404
enhancementgood first issuesprint-friendly

Métricas do repositório

Stars
 (435 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador