allenai/papermage

API fix - Empty layers

kyleclo opened this issue · 0 comments

  1. To avoid @soldni type checking horrors, let's add something akin to .get()
  2. We may still want to represent fields as None to separate them from [] or Layer(entities=[])