Releases: truefoundry/truefoundry-python-sdk
Releases · truefoundry/truefoundry-python-sdk
v0.2.0
Recommended TrueFoundry Control Plane >= 0.126.0
🚨 Breaking Changes
1. Method Argument Removed
client.users.list() — The include_virtual_accounts parameter has been removed.
# Before
client.users.list(include_virtual_accounts="includeVirtualAccounts")
# After – this argument no longer exists
client.users.list()Any calling code that passes
include_virtual_accountswill get aTypeError.
2. Type Fields Removed
The following fields were removed from their respective types.
| Type | Removed Field |
|---|---|
Account |
name: Optional[str] |
Cluster |
name: str |
Environment |
name: str |
SecretGroup |
name: str |
Team |
team_name: str (aliased as teamName) |
VirtualAccount |
name: str |
Workspace |
name: str |
BudgetConfig |
name: str |
GuardrailsConfig |
name: str |
LoadBalancingConfig |
name: str |
RateLimitConfig |
name: str |
Please use .manifest.name field to access name of a resource
3. Field Type Changed
| Type | Field | Old Type | New Type |
|---|---|---|---|
MlRepo |
account_id |
Optional[str] |
str (now required) |
GcpKeyFileAuth |
key_file_content |
Dict[str, Any] |
GcpKeyFileAuthKeyFileContent |
GoogleVertexProviderAccount |
auth_data |
Optional[GcpKeyFileAuth] |
Optional[VertexKeyFileAuth] |
AzureContentSafetyGuardrailConfig |
auth_data |
AzureKeyAuth |
AzureContentSafetyGuardrailConfigAuthData |
AzurePiiGuardrailConfig |
auth_data |
AzureKeyAuth |
AzurePiiGuardrailConfigAuthData |
AzurePiiGuardrailConfig |
operation |
Literal["mutate"] |
AzurePiiGuardrailConfigOperation (enum — type annotation breaks strict type checks) |
4. Enum Members Removed or Values Changed
AzurePiiCategory:
| Member | Change |
|---|---|
ALL |
Value changed: "all" → "*" (breaking for code serializing/comparing the value) |
IP_ADDRESS |
Value changed: "IP Address" → "IPAddress" (breaking) |
DRIVERS_LICENSE_NUMBER |
Removed entirely |
PASSPORT_NUMBER |
Removed entirely |
AzurePiiGuardrailConfigConfigDomain:
| Change | Detail |
|---|---|
HEALTHCARE → PHI |
Breaking rename — old wire value was "healthcare", new is "phi". Both the Python name and the serialized value changed. |
v0.1.20
SDK regeneration
v0.1.19
SDK regeneration
v0.1.18
SDK regeneration
v0.1.17
SDK regeneration
v0.1.17-rc.1
SDK regeneration
v0.1.16
SDK regeneration
v0.1.15
SDK regeneration
v0.1.14
SDK regeneration
v0.1.14-rc.1
SDK regeneration