dlt-hub / verified-sources

Contribute to dlt verified sources 🔥
https://dlthub.com/docs/walkthroughs/add-a-verified-source
Apache License 2.0
50 stars 40 forks source link

Updates resource base config in rest api #456

Closed rudolfix closed 1 month ago

rudolfix commented 1 month ago

Tell us what you do here

Short description

  1. updates ResourceBase to accept all the current resource decorator hints
  2. updates mypy to one used by dlt
  3. fixes a few rest api tests
  4. types paginator configs to match signatures in REST Client
  5. merges ResourceEndpoint keeping TypedDict as a whole
  6. renames paginator shorthands to match REST Client
    header_links -> header_link
    json_links -> json_response
  7. adds typed dicts for incremental and resolve params
  8. changes how single entity endpoints are handled
  9. adds tests for the above

    Related Issues

    fixes: #445 fixes: #455