Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: move comments in example snippets #552

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import os
from modern_treasury import ModernTreasury

client = ModernTreasury(
# This is the default and can be omitted
organization_id=os.environ.get("MODERN_TREASURY_ORGANIZATION_ID"),
# This is the default and can be omitted
api_key=os.environ.get("MODERN_TREASURY_API_KEY"),
organization_id=os.environ.get(
"MODERN_TREASURY_ORGANIZATION_ID"
), # This is the default and can be omitted
api_key=os.environ.get("MODERN_TREASURY_API_KEY"), # This is the default and can be omitted
)

counterparty = client.counterparties.create(
Expand All @@ -55,10 +55,10 @@ import asyncio
from modern_treasury import AsyncModernTreasury

client = AsyncModernTreasury(
# This is the default and can be omitted
organization_id=os.environ.get("MODERN_TREASURY_ORGANIZATION_ID"),
# This is the default and can be omitted
api_key=os.environ.get("MODERN_TREASURY_API_KEY"),
organization_id=os.environ.get(
"MODERN_TREASURY_ORGANIZATION_ID"
), # This is the default and can be omitted
api_key=os.environ.get("MODERN_TREASURY_API_KEY"), # This is the default and can be omitted
)


Expand Down