Last active
March 31, 2020 02:04
-
-
Save t7y/d661e61f3b2878a8e7c1eaaee24ee6cf to your computer and use it in GitHub Desktop.
hotel ratios sonder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from server.lib.arm.scheduled_rules.hotel_ratio_rules_manager import HotelRatioRulesManager | |
city_id = 9 | |
bedroom_count = "2" | |
building_id = "1296" | |
HotelRatioRulesManager.apply_price_changes_for_segment( | |
city_id, building_id, bedroom_count | |
) | |
session = HotelRatioRulesManager.get_session() | |
HotelRatioRulesManager.hotel_ratio_rules_enabled(session, city_id, building_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment