Skip to content

Comments

SIMBAD: add extra user agent#3529

Open
ManonMarchand wants to merge 2 commits intoastropy:mainfrom
cds-astro:simbad-add-extra-user-agent
Open

SIMBAD: add extra user agent#3529
ManonMarchand wants to merge 2 commits intoastropy:mainfrom
cds-astro:simbad-add-extra-user-agent

Conversation

@ManonMarchand
Copy link
Member

@ManonMarchand ManonMarchand commented Feb 12, 2026

Hello!

This is a follow up PR of #3526

It adds the extra_user_agent argument to SimbadClass

(just notifying @aoberto 🙂 )

@ManonMarchand ManonMarchand force-pushed the simbad-add-extra-user-agent branch from 3872959 to 11869e1 Compare February 12, 2026 10:23
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.71%. Comparing base (de342ea) to head (780ec6f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3529   +/-   ##
=======================================
  Coverage   72.71%   72.71%           
=======================================
  Files         219      219           
  Lines       20473    20473           
=======================================
  Hits        14886    14886           
  Misses       5587     5587           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bsipocz bsipocz added this to the 0.4.12 milestone Feb 12, 2026
Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, some very minor word-smithing comments

Comment on lines +870 to +871
To declare who you are to the SIMBAD's servers, add an extra **user agent** to your
SIMBAD instance:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add one more sentence why anyone want to do this?

simbad
~~~~~~

- Add the possibility to declare more user agents to ``SimbadClass`` [#3529]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Add the possibility to declare more user agents to ``SimbadClass`` [#3529]
- Add the possibility to declare more information in the HTTP User-Agent header in ``SimbadClass`` [#3529]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants