Skip to content

Conversation

@lykmapipo
Copy link
Collaborator

This:

  • add BulkReportQueryEndPoint, an endpoint class for handling specific bulk report query requests (i.e /bulk-reports/:id/query)
  • add BulkReportQueryParams for serializing and validating request parameters
  • add BulkReportQueryItem and BulkReportQueryResult for deserializing and validating API responses
  • add BulkFixedInfrastructureDataQueryEndPoint for handling fixed infrastructure data bulk report query requests
  • add BulkFixedInfrastructureDataQueryItem and BulkFixedInfrastructureDataQueryResult for deserializing and validating fixed infrastructure data API responses
  • add query_bulk_fixed_infrastructure_data_report public methods to query fixed infrastructure data
  • add fixtures and unit tests for BulkReportQueryParams, BulkFixedInfrastructureDataQueryItem, BulkFixedInfrastructureDataQueryResult, BulkFixedInfrastructureDataQueryEndPoint and query_bulk_fixed_infrastructure_data_report

…odels

This:
- add `BulkReportQueryEndPoint`, an endpoint class for handling specific bulk report query requests
- add `BulkReportQueryParams` for serializing and validating request parameters
- add `BulkReportQueryItem` and `BulkReportQueryResult` for deserializing and validating API responses
- add `BulkFixedInfrastructureDataQueryEndPoint` for handling fixed infrastructure bulk report query requests
- add `fixtures` and `unit tests` for `BulkReportQueryParams`, and `BulkFixedInfrastructureDataQueryEndPoint`
@lykmapipo lykmapipo self-assigned this Dec 23, 2025
@lykmapipo lykmapipo added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 23, 2025
The value to validate.
Returns:
Optional[datetime.datetime]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The return type from the typehint is not he same as the one in the docstring.

An alternative to duplicate the types is just declare them in typehints but not in the docstrings (tools for autodocument the API should be able to pick them from typehints).

"""Initializes a new `FixedInfrastructureDataResult`.
Args:
data (List[FixedInfrastructureDataItem]):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here about the type.

Additional keyword arguments.
Returns:
FixedInfrastructureDataResult:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here about the type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants