Skip to content

feat(sdk): DX-328 - Add datetime format schema to analytical object timestamps#1302

Closed
yenkins-admin wants to merge 1 commit intomasterfrom
feature/auto-P004-datetime-format-schema
Closed

feat(sdk): DX-328 - Add datetime format schema to analytical object timestamps#1302
yenkins-admin wants to merge 1 commit intomasterfrom
feature/auto-P004-datetime-format-schema

Conversation

@yenkins-admin
Copy link
Contributor

Summary

This PR synchronizes the Python SDK with gdc-nas changes from P004 that added proper OpenAPI schema annotations for createdAt and modifiedAt fields in analytical model classes.

Changes

  • Updated metadata-client OpenAPI schema with datetime format annotations from gdc-nas
  • Regenerated gooddata-api-client Python models with:
    • Added regex pattern validation for YYYY-MM-DD HH:MM format
    • Marked createdAt/modifiedAt fields as nullable with none_type
    • Added field descriptions

Affected Models

  • AnalyticalDashboard
  • AttributeHierarchy
  • Automation
  • DashboardPlugin
  • ExportDefinition
  • MemoryItem
  • Metric
  • VisualizationObject

References

…stamps

Regenerate Python SDK from updated metadata-api OpenAPI spec that includes
proper schema annotations (description, pattern, nullable) for createdAt
and modifiedAt fields across analytical model classes:
- AnalyticalDashboard
- AttributeHierarchy
- Automation
- DashboardPlugin
- ExportDefinition
- MemoryItem
- Metric
- VisualizationObject

The SDK now correctly validates datetime fields with the pattern
'YYYY-MM-DD HH:MM' and marks them as nullable, ensuring proper
serialization and validation.

Related to STL-2296 and P004.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@tychtjan
Copy link

Testing of SDK - Please close

I apologize for spam, for future i will test it on my fork but i forgot to switch it

@jaceksan jaceksan closed this Feb 10, 2026
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.

3 participants