Skip to content

chore: drop context manager protocol from StackletContext - #88

Merged
albertodonato merged 1 commit into
mainfrom
ack/context-no-ctx-manager
Jan 19, 2026
Merged

albertodonato merged 1 commit into
mainfrom
ack/context-no-ctx-manager

Conversation

@albertodonato

Copy link
Copy Markdown
Contributor

what

drop the context manager protocol from StackletContext

why

it's not used for anything and just makes the code more indented

testing

unit tests and local testing

docs

n/a

### what

drop the context manager protocol from StackletContext

### why

it's not used for anything and just makes the code more indented

### testing

unit tests and local testing

### docs

n/a
@albertodonato
albertodonato requested a review from a team as a code owner January 16, 2026 16:34

@fwereade fwereade left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks

data = {"query": query}
response = requests.post(
url=url,
headers={"Authorization": token, "Content-Type": "application/json"},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Huh. …I don't suppose we could send compliant headers to cube too, could we? Maybe do it separately, but… it'd be nice.

@albertodonato
albertodonato merged commit 2e5c83f into main Jan 19, 2026
12 checks passed
@albertodonato
albertodonato deleted the ack/context-no-ctx-manager branch January 19, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants