From bf1e25ee61f5ef40cd6b02398e07ff5661662d06 Mon Sep 17 00:00:00 2001 From: Jacob Rodal Date: Tue, 25 Oct 2022 11:29:39 -0700 Subject: [PATCH] EP enable running PL with graph API (#1814) Summary: Pull Request resolved: https://github.com/facebookresearch/fbpcs/pull/1814 ## What - Add call to `run_study` when the a PLGraphAPIExperiment is specified ## Why - So that we can run PL graph API experiments ## What is this diff stack - I am introducing the ability to configure and execute PL and PA graph API experiments on the experimentation platform - See [high level doc](https://docs.google.com/document/d/1BK8qBvl7z-gZ6WzdFyPBWSKO1tp8wUMxmOPFoTkEgyo/edit) - See [doc on configurability changes](https://docs.google.com/document/d/1pAdho-D_iXzpuh6Y5pOrP6FLfpkIxYilztNJp5GP9xI/edit#heading=h.iduazwf5vrr9) Reviewed By: nguytc, yanglu-fb Differential Revision: D40453810 fbshipit-source-id: 28e685ce132eb5c41e31b4cc13b809731b7d8444 --- fbpcs/pl_coordinator/bolt_graphapi_client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fbpcs/pl_coordinator/bolt_graphapi_client.py b/fbpcs/pl_coordinator/bolt_graphapi_client.py index ce780c3f9..500eaf1a7 100644 --- a/fbpcs/pl_coordinator/bolt_graphapi_client.py +++ b/fbpcs/pl_coordinator/bolt_graphapi_client.py @@ -239,7 +239,6 @@ def _get_graph_api_token(self, config: Dict[str, Any]) -> str: token = os.getenv(FBPCS_GRAPH_API_TOKEN) if not token: no_token_exception = GraphAPITokenNotFound.make_error() - self.logger.exception(no_token_exception) raise no_token_exception from None self.logger.info( f"successfully read graph api token from {FBPCS_GRAPH_API_TOKEN} env var"