allenai / allenai/papermage

API fix - Empty layers

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
802
Forks
64
PR merge metrics
No merged PRs in 30d

Description

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=[])`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.