alteryx/featuretools

Add tests that confirm primitive input_types are the expected shapes

開放

#2,086 建立於 2022年5月19日

 (6 則留言) (0 個反應) (0 位負責人)Python (853 個分叉)batch import
good first issue

倉庫指標

星標
 (6,895 顆星)
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.

貢獻者指南