douban / pymesos

A pure python implementation of Mesos scheduler and executor
BSD 3-Clause "New" or "Revised" License
163 stars 88 forks source link

Implement inverseResourceOffers #58

Closed efritz closed 7 years ago

efritz commented 7 years ago

This should fix #57. If the changes to the interface seem strange, I'd like to discuss alternative choices that would support this feature.

windreamer commented 7 years ago

@haosdent can you help me to comfirm if the interface change is OK?

haosdent commented 7 years ago

@kaysoky implement an example about how to use inverseOffer, may refer https://github.com/kaysoky/InverseOfferExampleFramework/blob/master/example.cpp#L198-L209

efritz commented 7 years ago

Based on that example, would inverseOffers be a better name for the interface?

windreamer commented 7 years ago

@efritz I think inverseOffers is better thanks for the PR

efritz commented 7 years ago

Thanks! Would it be possible to bump the version and make this version accessible through PyPI?

windreamer commented 7 years ago

Of coz! We are just evaluated the new version, and will release it soon.

efritz commented 7 years ago

Great news! Thanks so much.