Skip to content

Commit 7a89c6c

Browse files
author
Christine Koulopoulos
authored
updated username and password to strings (#70)
1 parent 6b77bf0 commit 7a89c6c

15 files changed

+30
-30
lines changed

examples/afi_optimizer_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
from urllib3 import Retry
1919

2020
host = "https://api.factset.com"
21-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
22-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
21+
username = "<username-serial>"
22+
password = "<apiKey>"
2323

2424

2525
def main():

examples/axp_optimizer_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
from urllib3 import Retry
2121

2222
host = "https://api.factset.com"
23-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
24-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
23+
username = "<username-serial>"
24+
password = "<apiKey>"
2525

2626

2727
def main():

examples/bpm_optimizer_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
from urllib3 import Retry
1919

2020
host = "https://api.factset.com"
21-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
22-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
21+
username = "<username-serial>"
22+
password = "<apiKey>"
2323

2424

2525
def main():

examples/fi_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
from urllib3 import Retry
1818

1919
host = "https://api.factset.com"
20-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
21-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
20+
username = "<username-serial>"
21+
password = "<apiKey>"
2222

2323

2424
def main():

examples/fpo_optimizer_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
from urllib3 import Retry
2222

2323
host = "https://api.factset.com"
24-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
25-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
24+
username = "<username-serial>"
25+
password = "<apiKey>"
2626

2727

2828
def main():

examples/pa_engine_multiple_unit_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
from urllib3 import Retry
2020

2121
host = "https://api.factset.com"
22-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
23-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
22+
username = "<username-serial>"
23+
password = "<apiKey>"
2424

2525

2626
def main():

examples/pa_engine_single_unit_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
from urllib3 import Retry
2020

2121
host = "https://api.factset.com"
22-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
23-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
22+
username = "<username-serial>"
23+
password = "<apiKey>"
2424

2525

2626
def main():

examples/pub_engine_multiple_unit_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from pathlib import Path
1515

1616
host = "https://api.factset.com"
17-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
18-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
17+
username = "<username-serial>"
18+
password = "<apiKey>"
1919

2020

2121
def main():

examples/pub_engine_single_unit_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from urllib3 import Retry
1515

1616
host = "https://api.factset.com"
17-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
18-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
17+
username = "<username-serial>"
18+
password = "<apiKey>"
1919

2020

2121
def main():

examples/quant_engine_single_unit_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
from urllib3 import Retry
2121

2222
host = "https://api.factset.com"
23-
username = os.environ["ANALYTICS_API_QAR_USERNAME_SERIAL"]
24-
password = os.environ["ANALYTICS_API_QAR_PASSWORD"]
23+
username = "<username-serial>"
24+
password = "<apiKey>"
2525

2626

2727
def main():

0 commit comments

Comments
 (0)