There was an error while loading. Please reload this page.
1 parent 9bf97af commit c1b003aCopy full SHA for c1b003a
1 file changed
etna/lib/etna/clients/magma/client.rb
@@ -212,6 +212,15 @@ def update_model(update_model_request = UpdateModelRequest.new)
212
213
UpdateModelResponse.new(json)
214
end
215
+
216
+ def set_flags(project_name:, flags:)
217
+ json = nil
218
+ @etna_client.post("/flags/#{project_name}", { flags: flags }) do |res|
219
+ json = safe_parse(res)
220
+ end
221
222
+ json
223
224
225
226
0 commit comments