Skip to content

Feature/ntp matchy fixes#22

Open
sempervent wants to merge 7 commits intofeature/matchy-ntpfrom
feature/ntp-matchy-fixes
Open

Feature/ntp matchy fixes#22
sempervent wants to merge 7 commits intofeature/matchy-ntpfrom
feature/ntp-matchy-fixes

Conversation

@sempervent
Copy link
Copy Markdown
Contributor

No description provided.

@sempervent sempervent requested a review from midgemacf April 22, 2026 00:56
Comment thread opensampl/server/backend/main.py
Comment thread opensampl/vendors/ntp.py Outdated
)

def __init__(self, input_file: str):
def __init__(self, input_file: str | Path, chunk_size: int | None = None, **kwargs: dict):
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.

I think ruff got rid of my kwargs somewhere along the way? Or it's something coming from a different merge... Either way the same issue affects all the other probes too. good catch, I can push a fix for the rest to this branch (or just straight to my OG one)

Comment thread pyproject.toml
"psycopg2-binary>=2.9.0,<3",
"python-dotenv",
"python-multipart>=0.0.20,<0.0.21",
"python-multipart>=0.0.26,<0.0.27",
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.

we'll have to make sure backend still works with this bumped

Comment thread opensampl/server/backend/main.py Outdated
def generate_api_key(expire_after: Optional[int] = None, session: Session = Depends(get_db)):
def generate_api_key(
expire_after: Optional[int] = None,
api_key: str = Depends(validate_api_key_or_allow_bootstrap),
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.

Wouldn't this be "None" if there are no keys, and fail?

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