Additional-profile API
Adds synchronous Client.create_secondary_account() for the observed linked Accounts Center flow. It returns a typed SecondaryAccount with separate session settings and preserves the main client's authorization. Temporary sessions are closed on failure or interruption; automatic retries and redirects are disabled.
Thanks @huseyinkarael for the original proposal in aiograpi#528. The synchronous port is #2955.
Known live limitation
Successful synchronous creation and session handoff have not been established. Three live attempts reported creation but returned a different username from the requested one; each resulting session required a challenge. The method rejects mismatched results and may report that creation already happened. Do not automatically retry after an uncertain outcome.
The related async flow previously succeeded in aiograpi; that evidence does not establish synchronous success. This release ships with the maintainer's explicit acceptance of the limitation.
Validation and maintenance
- 1542 regression tests and 307 subtests passed; 42 tests skipped. Quality checks, strict documentation, build and package validation passed.
- The installed release candidate matched all 74 runtime files and passed one authenticated parent-session identity GET (HTTP200). This was an installation/session check, not a successful profile-creation test; no new profile was created for the release check.
- CI uses Python 3.13 rather than an unavailable patch version on the runner. Dependencies and Android pins are unchanged.