`rows` header field is not returned feom a call to metadatfunctions.aqs_is_available function.

Open Beginner friendly
#76 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 18 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api

Research direction

Start by reading aqs_is_available and its unit test to see where the code expects the rows field in the API response. Compare that response handling with another AQS DataMart API call; done when aqs_is_available and its unit test handle the missing field successfully.

Written by the indexing model from the issue text.

Description

All other AQS DataMart API calls return the field rows in the json header returned from the AQS DataMart API. The rows field is absent for this singular API call. pyaqsapi was written to expect this field to be present in the json header returned. Because of this, the function aqs_is_available and its unit test are failing when they are invoked.

Dominant language
Python
Stars
30
Forks
10
Avg merge
17d 3m
Merged PRs (30d)
3

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from USEPA/pyaqsapi

All issues in USEPA/pyaqsapi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.