alteryx/featuretools

Add tests that confirm primitive input_types are the expected shapes

Open

#2,086 创建于 2022年5月19日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Python (853 fork)batch import
good first issue

仓库指标

Star
 (6,895 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

There are a number of assumptions we make about the shape of Primitive input_types lists:

  • Its either a list of ColumnSchema objects or a list of lists of ColumnSchema objects (and not a combination)
  • All sub-lists are the same length
  • No input_types list or sublist is empty

As we may need to rely on these assumptions at some point, we should add tests that confirm these assumptions for all primitives, so that if we add a Primitive that breaks any of these assumptions in the future, we are notified.

贡献者指南