Tags: FastComments/fastcomments-python
Tags
Fix wheel packaging: include client subpackages packages = ["sso", "client"] omitted every subpackage, so non-editable installs failed with 'No module named client.api'. Use find-based discovery (include sso*/client*) and package client/py.typed. Editable installs masked this because they add the source tree to sys.path.
Regenerate SDK: Moderation API + grouped request parameters (#5) * Regenerate SDK from latest OpenAPI spec (moderation tenantId + broadcastId params) Adds the optional tenantId query param to the SSO-gated Moderation API endpoints and the optional broadcastId query param to the mutating moderation endpoints. Backward-compatible. Mirrors fastcomments-sdk-js v5.0.2. * Regenerate against corrected spec (tsoa 6.6.8 splits X | APIError response unions) * Bump version to 2.0.1 (patch over the 2.0.0 Moderation API release) * Regenerate with grouped request objects; update.sh uses fork generator API methods now take a single Api<Op>Request pydantic object (useSingleRequestParameter). update.sh now uses the FastComments openapi-generator fork, since the stock generator ignores the option for python. Updated SSO tests and README examples. * Regenerate docs with grouped request-object examples API reference examples now construct the single Api<Op>Request object, matching the grouped method signatures. * Regenerate: required params + body positional, optionals in one object API methods now take required params + body positionally, with optional params in a single Api<Op>Options object (was: one Api<Op>Request for everything). Updated SSO tests + README. * Regenerate: single optional is a direct param (no options object for one value) Operations with exactly one optional now take it directly (e.g. deleteModerator(..., send_email)); the Api<Op>Options object is only used for 2+ optionals. * Regenerate: mod_api/ paths + PostRemoveCommentApiResponse rename; drop Api prefix from options types Options types renamed Api<Op>Options -> <Op>Options (e.g. ApiGetApiCommentsOptions -> GetApiCommentsOptions). Hand-written READMEs + SSO tests updated to match. * README: shorten ModerationApi description; regenerate docs (fix invalid options= synopsis) Doc-only. Method synopses now show a valid 'options' arg instead of 'options='. * Release v3.0.0: regenerate at 3.0.0 with fastcomments-build-20260630 jar Bump version to 3.0.0 and regenerate from the new generator fork release.