Skip to content

Conversation

@dmartinol
Copy link

  • call do_put only once
  • postpone the invocation of do_put
  • simplified _make_flight_info

historical_flight_descriptor = fl.FlightDescriptor.for_command(self.command)
# TODO add one specialized implementation for each OfflineStore API
# This can result in a dictionary of functions indexed by api (e.g., "get_historical_features")
def _put_parameters(self, command_descriptor, command):
Copy link

Choose a reason for hiding this comment

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

command is redundant now

Copy link
Author

Choose a reason for hiding this comment

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

I was tempted to keep it for further extensions but in the spirit of keeping the code clean, I removed it, thanks!

@redhatHameed redhatHameed merged commit ec763de into RHEcosystemAppEng:remote_offline May 13, 2024
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