Open-EO / Open-EO/openeo-python-client

Better information when printing Connection object

Open
#216 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

nice-to-have usability
Dominant language
Python
Stars
217
Forks
56
Avg merge
1d 22h
Merged PRs (30d)
2

Description

I'm personally found the <Connection to 'https://openeo.vito.be/openeo/1.0/' with BearerAuth> always pretty strange when printing the Connection object. It gives a URL that I did not specify with some strange Auth thing that I (as a normal user) don't know anything about. I would expect something like <Connection established to https://openeo.vito.be, version {x.x}, authenticated via {Identity Povider Name} | Terms of Service - Privacy Policy> or as an alternative just an overview where I'm connecting to (see #174).

Originally posted by @m-mohr in https://github.com/Open-EO/openeo-python-client/pull/213#discussion_r652809399

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the Connection object's string or representation output and review the related discussion in issue #174. Define the user-facing connection details to expose, then update the representation so it shows a useful endpoint and authentication context without leaking confusing internals.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.