-
Notifications
You must be signed in to change notification settings - Fork 14
feat: [FEEDS-1763.1] regenerate OpenAPI client #285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1328,6 +1328,7 @@ def create_feed_group( | |
| activity_processors: Optional[List[ActivityProcessorConfig]] = None, | ||
| activity_selectors: Optional[List[ActivitySelectorConfig]] = None, | ||
| activity_filter: Optional[ActivityFilterConfig] = None, | ||
| activity_marks: Optional[ActivityMarksConfig] = None, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win Preserve positional compatibility for the public methods.
Because these parameters are not keyword-only, existing positional callers can now bind values to different options. Append the new parameters after the existing parameters, or make the compatibility break explicit in the package version. Also applies to: 1793-1793, 1836-1836, 2063-2064 🤖 Prompt for AI Agents |
||
| activity_processing: Optional[ActivityProcessingConfig] = None, | ||
| aggregation: Optional[AggregationConfig] = None, | ||
| custom: Optional[Dict[str, object]] = None, | ||
|
|
@@ -1343,6 +1344,7 @@ def create_feed_group( | |
| activity_processors=activity_processors, | ||
| activity_selectors=activity_selectors, | ||
| activity_filter=activity_filter, | ||
| activity_marks=activity_marks, | ||
| activity_processing=activity_processing, | ||
| aggregation=aggregation, | ||
| custom=custom, | ||
|
|
@@ -1788,6 +1790,7 @@ def get_or_create_feed_group( | |
| activity_processors: Optional[List[ActivityProcessorConfig]] = None, | ||
| activity_selectors: Optional[List[ActivitySelectorConfig]] = None, | ||
| activity_filter: Optional[ActivityFilterConfig] = None, | ||
| activity_marks: Optional[ActivityMarksConfig] = None, | ||
| activity_processing: Optional[ActivityProcessingConfig] = None, | ||
| aggregation: Optional[AggregationConfig] = None, | ||
| custom: Optional[Dict[str, object]] = None, | ||
|
|
@@ -1805,6 +1808,7 @@ def get_or_create_feed_group( | |
| activity_processors=activity_processors, | ||
| activity_selectors=activity_selectors, | ||
| activity_filter=activity_filter, | ||
| activity_marks=activity_marks, | ||
| activity_processing=activity_processing, | ||
| aggregation=aggregation, | ||
| custom=custom, | ||
|
|
@@ -1829,6 +1833,7 @@ def update_feed_group( | |
| activity_processors: Optional[List[ActivityProcessorConfig]] = None, | ||
| activity_selectors: Optional[List[ActivitySelectorConfig]] = None, | ||
| activity_filter: Optional[ActivityFilterConfig] = None, | ||
| activity_marks: Optional[ActivityMarksConfig] = None, | ||
| activity_processing: Optional[ActivityProcessingConfig] = None, | ||
| aggregation: Optional[AggregationConfig] = None, | ||
| custom: Optional[Dict[str, object]] = None, | ||
|
|
@@ -1846,6 +1851,7 @@ def update_feed_group( | |
| activity_processors=activity_processors, | ||
| activity_selectors=activity_selectors, | ||
| activity_filter=activity_filter, | ||
| activity_marks=activity_marks, | ||
| activity_processing=activity_processing, | ||
| aggregation=aggregation, | ||
| custom=custom, | ||
|
|
@@ -2054,6 +2060,8 @@ def get_feeds_rate_limits( | |
| ios: Optional[bool] = None, | ||
| web: Optional[bool] = None, | ||
| unity: Optional[bool] = None, | ||
| unity_desktop: Optional[bool] = None, | ||
| unity_console: Optional[bool] = None, | ||
| server_side: Optional[bool] = None, | ||
| ) -> StreamResponse[GetFeedsRateLimitsResponse]: | ||
| query_params = build_query_param( | ||
|
|
@@ -2062,6 +2070,8 @@ def get_feeds_rate_limits( | |
| ios=ios, | ||
| web=web, | ||
| unity=unity, | ||
| unity_desktop=unity_desktop, | ||
| unity_console=unity_console, | ||
| server_side=server_side, | ||
| ) | ||
| return self.get( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Keep the new parameters after
endpointsin both public clients.Inserting the new parameters before
endpointschanges the binding of existing positional calls.getstream/common/async_rest_client.py#L1001-L1002: Moveunity_desktopandunity_consoleafterendpoints.getstream/common/rest_client.py#L985-L986: Moveunity_desktopandunity_consoleafterendpoints.📍 Affects 2 files
getstream/common/async_rest_client.py#L1001-L1002(this comment)getstream/common/rest_client.py#L985-L986🤖 Prompt for AI Agents