Skip to content

Commit 2afd2af

Browse files
Release 1.8.42
1 parent e0f56dc commit 2afd2af

11 files changed

Lines changed: 5 additions & 94 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "flagright"
33

44
[tool.poetry]
55
name = "flagright"
6-
version = "1.8.41"
6+
version = "1.8.42"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ from flagright import (
5757
)
5858

5959
client = Flagright(
60-
authorization="YOUR_AUTHORIZATION",
6160
api_key="YOUR_API_KEY",
6261
)
6362
client.transactions.verify(
@@ -370,7 +369,6 @@ Calling `GET /transactions/{transactionId}` will return the entire transaction p
370369
from flagright import Flagright
371370

372371
client = Flagright(
373-
authorization="YOUR_AUTHORIZATION",
374372
api_key="YOUR_API_KEY",
375373
)
376374
client.transactions.get(
@@ -428,7 +426,6 @@ client.transactions.get(
428426
from flagright import Flagright, Transaction
429427

430428
client = Flagright(
431-
authorization="YOUR_AUTHORIZATION",
432429
api_key="YOUR_API_KEY",
433430
)
434431
client.batch.verify_transaction(
@@ -517,7 +514,6 @@ client.batch.verify_transaction(
517514
from flagright import Flagright
518515

519516
client = Flagright(
520-
authorization="YOUR_AUTHORIZATION",
521517
api_key="YOUR_API_KEY",
522518
)
523519
client.batch.get_transactions(
@@ -592,7 +588,6 @@ client.batch.get_transactions(
592588
from flagright import Flagright, TransactionEvent
593589

594590
client = Flagright(
595-
authorization="YOUR_AUTHORIZATION",
596591
api_key="YOUR_API_KEY",
597592
)
598593
client.batch.create_transaction_events(
@@ -663,7 +658,6 @@ client.batch.create_transaction_events(
663658
from flagright import Flagright
664659

665660
client = Flagright(
666-
authorization="YOUR_AUTHORIZATION",
667661
api_key="YOUR_API_KEY",
668662
)
669663
client.batch.get_transaction_events(
@@ -738,7 +732,6 @@ client.batch.get_transaction_events(
738732
from flagright import Flagright, User
739733

740734
client = Flagright(
741-
authorization="YOUR_AUTHORIZATION",
742735
api_key="YOUR_API_KEY",
743736
)
744737
client.batch.create_consumer_users(
@@ -826,7 +819,6 @@ client.batch.create_consumer_users(
826819
from flagright import Flagright
827820

828821
client = Flagright(
829-
authorization="YOUR_AUTHORIZATION",
830822
api_key="YOUR_API_KEY",
831823
)
832824
client.batch.get_consumer_users(
@@ -901,7 +893,6 @@ client.batch.get_consumer_users(
901893
from flagright import Business, CompanyGeneralDetails, Flagright, LegalEntity
902894

903895
client = Flagright(
904-
authorization="YOUR_AUTHORIZATION",
905896
api_key="YOUR_API_KEY",
906897
)
907898
client.batch.create_business_users(
@@ -996,7 +987,6 @@ client.batch.create_business_users(
996987
from flagright import Flagright
997988

998989
client = Flagright(
999-
authorization="YOUR_AUTHORIZATION",
1000990
api_key="YOUR_API_KEY",
1001991
)
1002992
client.batch.get_business_users(
@@ -1071,7 +1061,6 @@ client.batch.get_business_users(
10711061
from flagright import ConsumerUserEvent, Flagright
10721062

10731063
client = Flagright(
1074-
authorization="YOUR_AUTHORIZATION",
10751064
api_key="YOUR_API_KEY",
10761065
)
10771066
client.batch.create_consumer_user_events(
@@ -1159,7 +1148,6 @@ client.batch.create_consumer_user_events(
11591148
from flagright import Flagright
11601149

11611150
client = Flagright(
1162-
authorization="YOUR_AUTHORIZATION",
11631151
api_key="YOUR_API_KEY",
11641152
)
11651153
client.batch.get_consumer_user_events(
@@ -1234,7 +1222,6 @@ client.batch.get_consumer_user_events(
12341222
from flagright import BusinessUserEvent, Flagright
12351223

12361224
client = Flagright(
1237-
authorization="YOUR_AUTHORIZATION",
12381225
api_key="YOUR_API_KEY",
12391226
)
12401227
client.batch.create_business_user_events(
@@ -1322,7 +1309,6 @@ client.batch.create_business_user_events(
13221309
from flagright import Flagright
13231310

13241311
client = Flagright(
1325-
authorization="YOUR_AUTHORIZATION",
13261312
api_key="YOUR_API_KEY",
13271313
)
13281314
client.batch.get_business_user_events(
@@ -1431,7 +1417,6 @@ In order to make individual events retrievable, you also need to pass in a uniqu
14311417
from flagright import DeviceData, Flagright
14321418

14331419
client = Flagright(
1434-
authorization="YOUR_AUTHORIZATION",
14351420
api_key="YOUR_API_KEY",
14361421
)
14371422
client.transaction_events.create(
@@ -1573,7 +1558,6 @@ You can retrieve any transaction event you created using the [POST Transaction E
15731558
from flagright import Flagright
15741559

15751560
client = Flagright(
1576-
authorization="YOUR_AUTHORIZATION",
15771561
api_key="YOUR_API_KEY",
15781562
)
15791563
client.transaction_events.get(
@@ -1665,7 +1649,6 @@ from flagright import (
16651649
)
16661650

16671651
client = Flagright(
1668-
authorization="YOUR_AUTHORIZATION",
16691652
api_key="YOUR_API_KEY",
16701653
)
16711654
client.consumer_users.create(
@@ -2067,7 +2050,6 @@ Calling `GET /consumer/user/{userId}` will return the entire user payload and ru
20672050
from flagright import Flagright
20682051

20692052
client = Flagright(
2070-
authorization="YOUR_AUTHORIZATION",
20712053
api_key="YOUR_API_KEY",
20722054
)
20732055
client.consumer_users.get(
@@ -2152,7 +2134,6 @@ Each business user needs three mandatory fields:
21522134
from flagright import CompanyGeneralDetails, Flagright, LegalEntity
21532135

21542136
client = Flagright(
2155-
authorization="YOUR_AUTHORIZATION",
21562137
api_key="YOUR_API_KEY",
21572138
)
21582139
client.business_users.create(
@@ -2486,7 +2467,6 @@ Calling `GET /business/user/{userId}` will return the entire User payload and ru
24862467
from flagright import Flagright
24872468

24882469
client = Flagright(
2489-
authorization="YOUR_AUTHORIZATION",
24902470
api_key="YOUR_API_KEY",
24912471
)
24922472
client.business_users.get(
@@ -2576,7 +2556,6 @@ In order to make individual events retrievable, you also need to pass in a uniqu
25762556
from flagright import Flagright
25772557

25782558
client = Flagright(
2579-
authorization="YOUR_AUTHORIZATION",
25802559
api_key="YOUR_API_KEY",
25812560
)
25822561
client.consumer_user_events.create(
@@ -2716,7 +2695,6 @@ You can retrieve any consumer user event you created using the [POST Consumer Us
27162695
from flagright import Flagright
27172696

27182697
client = Flagright(
2719-
authorization="YOUR_AUTHORIZATION",
27202698
api_key="YOUR_API_KEY",
27212699
)
27222700
client.consumer_user_events.get(
@@ -2806,7 +2784,6 @@ In order to make individual events retrievable, you also need to pass in a uniqu
28062784
from flagright import Flagright
28072785

28082786
client = Flagright(
2809-
authorization="YOUR_AUTHORIZATION",
28102787
api_key="YOUR_API_KEY",
28112788
)
28122789
client.business_user_events.create(
@@ -2946,7 +2923,6 @@ You can retrieve any business user event you created using the [POST Business Us
29462923
from flagright import Flagright
29472924

29482925
client = Flagright(
2949-
authorization="YOUR_AUTHORIZATION",
29502926
api_key="YOUR_API_KEY",
29512927
)
29522928
client.business_user_events.get(

src/flagright/batch/client.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ def verify_transaction(
7676
from flagright import Flagright, Transaction
7777
7878
client = Flagright(
79-
authorization="YOUR_AUTHORIZATION",
8079
api_key="YOUR_API_KEY",
8180
)
8281
client.batch.verify_transaction(
@@ -133,7 +132,6 @@ def get_transactions(
133132
from flagright import Flagright
134133
135134
client = Flagright(
136-
authorization="YOUR_AUTHORIZATION",
137135
api_key="YOUR_API_KEY",
138136
)
139137
client.batch.get_transactions(
@@ -174,7 +172,6 @@ def create_transaction_events(
174172
from flagright import Flagright, TransactionEvent
175173
176174
client = Flagright(
177-
authorization="YOUR_AUTHORIZATION",
178175
api_key="YOUR_API_KEY",
179176
)
180177
client.batch.create_transaction_events(
@@ -225,7 +222,6 @@ def get_transaction_events(
225222
from flagright import Flagright
226223
227224
client = Flagright(
228-
authorization="YOUR_AUTHORIZATION",
229225
api_key="YOUR_API_KEY",
230226
)
231227
client.batch.get_transaction_events(
@@ -274,7 +270,6 @@ def create_consumer_users(
274270
from flagright import Flagright, User
275271
276272
client = Flagright(
277-
authorization="YOUR_AUTHORIZATION",
278273
api_key="YOUR_API_KEY",
279274
)
280275
client.batch.create_consumer_users(
@@ -330,7 +325,6 @@ def get_consumer_users(
330325
from flagright import Flagright
331326
332327
client = Flagright(
333-
authorization="YOUR_AUTHORIZATION",
334328
api_key="YOUR_API_KEY",
335329
)
336330
client.batch.get_consumer_users(
@@ -379,7 +373,6 @@ def create_business_users(
379373
from flagright import Business, CompanyGeneralDetails, Flagright, LegalEntity
380374
381375
client = Flagright(
382-
authorization="YOUR_AUTHORIZATION",
383376
api_key="YOUR_API_KEY",
384377
)
385378
client.batch.create_business_users(
@@ -442,7 +435,6 @@ def get_business_users(
442435
from flagright import Flagright
443436
444437
client = Flagright(
445-
authorization="YOUR_AUTHORIZATION",
446438
api_key="YOUR_API_KEY",
447439
)
448440
client.batch.get_business_users(
@@ -491,7 +483,6 @@ def create_consumer_user_events(
491483
from flagright import ConsumerUserEvent, Flagright
492484
493485
client = Flagright(
494-
authorization="YOUR_AUTHORIZATION",
495486
api_key="YOUR_API_KEY",
496487
)
497488
client.batch.create_consumer_user_events(
@@ -547,7 +538,6 @@ def get_consumer_user_events(
547538
from flagright import Flagright
548539
549540
client = Flagright(
550-
authorization="YOUR_AUTHORIZATION",
551541
api_key="YOUR_API_KEY",
552542
)
553543
client.batch.get_consumer_user_events(
@@ -596,7 +586,6 @@ def create_business_user_events(
596586
from flagright import BusinessUserEvent, Flagright
597587
598588
client = Flagright(
599-
authorization="YOUR_AUTHORIZATION",
600589
api_key="YOUR_API_KEY",
601590
)
602591
client.batch.create_business_user_events(
@@ -652,7 +641,6 @@ def get_business_user_events(
652641
from flagright import Flagright
653642
654643
client = Flagright(
655-
authorization="YOUR_AUTHORIZATION",
656644
api_key="YOUR_API_KEY",
657645
)
658646
client.batch.get_business_user_events(
@@ -719,7 +707,6 @@ async def verify_transaction(
719707
from flagright import AsyncFlagright, Transaction
720708
721709
client = AsyncFlagright(
722-
authorization="YOUR_AUTHORIZATION",
723710
api_key="YOUR_API_KEY",
724711
)
725712
@@ -784,7 +771,6 @@ async def get_transactions(
784771
from flagright import AsyncFlagright
785772
786773
client = AsyncFlagright(
787-
authorization="YOUR_AUTHORIZATION",
788774
api_key="YOUR_API_KEY",
789775
)
790776
@@ -833,7 +819,6 @@ async def create_transaction_events(
833819
from flagright import AsyncFlagright, TransactionEvent
834820
835821
client = AsyncFlagright(
836-
authorization="YOUR_AUTHORIZATION",
837822
api_key="YOUR_API_KEY",
838823
)
839824
@@ -892,7 +877,6 @@ async def get_transaction_events(
892877
from flagright import AsyncFlagright
893878
894879
client = AsyncFlagright(
895-
authorization="YOUR_AUTHORIZATION",
896880
api_key="YOUR_API_KEY",
897881
)
898882
@@ -949,7 +933,6 @@ async def create_consumer_users(
949933
from flagright import AsyncFlagright, User
950934
951935
client = AsyncFlagright(
952-
authorization="YOUR_AUTHORIZATION",
953936
api_key="YOUR_API_KEY",
954937
)
955938
@@ -1013,7 +996,6 @@ async def get_consumer_users(
1013996
from flagright import AsyncFlagright
1014997
1015998
client = AsyncFlagright(
1016-
authorization="YOUR_AUTHORIZATION",
1017999
api_key="YOUR_API_KEY",
10181000
)
10191001
@@ -1075,7 +1057,6 @@ async def create_business_users(
10751057
)
10761058
10771059
client = AsyncFlagright(
1078-
authorization="YOUR_AUTHORIZATION",
10791060
api_key="YOUR_API_KEY",
10801061
)
10811062
@@ -1146,7 +1127,6 @@ async def get_business_users(
11461127
from flagright import AsyncFlagright
11471128
11481129
client = AsyncFlagright(
1149-
authorization="YOUR_AUTHORIZATION",
11501130
api_key="YOUR_API_KEY",
11511131
)
11521132
@@ -1203,7 +1183,6 @@ async def create_consumer_user_events(
12031183
from flagright import AsyncFlagright, ConsumerUserEvent
12041184
12051185
client = AsyncFlagright(
1206-
authorization="YOUR_AUTHORIZATION",
12071186
api_key="YOUR_API_KEY",
12081187
)
12091188
@@ -1267,7 +1246,6 @@ async def get_consumer_user_events(
12671246
from flagright import AsyncFlagright
12681247
12691248
client = AsyncFlagright(
1270-
authorization="YOUR_AUTHORIZATION",
12711249
api_key="YOUR_API_KEY",
12721250
)
12731251
@@ -1324,7 +1302,6 @@ async def create_business_user_events(
13241302
from flagright import AsyncFlagright, BusinessUserEvent
13251303
13261304
client = AsyncFlagright(
1327-
authorization="YOUR_AUTHORIZATION",
13281305
api_key="YOUR_API_KEY",
13291306
)
13301307
@@ -1388,7 +1365,6 @@ async def get_business_user_events(
13881365
from flagright import AsyncFlagright
13891366
13901367
client = AsyncFlagright(
1391-
authorization="YOUR_AUTHORIZATION",
13921368
api_key="YOUR_API_KEY",
13931369
)
13941370

0 commit comments

Comments
 (0)