reflexive 0.1.8__py3-none-any.whl → 0.1.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,12 +19,15 @@ class Parameters:
19
19
  self.logger.info("AWS region:",self.region)
20
20
  self.access_key = aws_session.get_credentials().access_key
21
21
  self.logger.debug("AWS access key:",self.access_key)
22
+ self.account_number = aws_session.client('sts').get_caller_identity().get('Account')
22
23
  except Exception as err:
23
24
  self.logger.error("Unable to retrieve AWS credentials",err)
24
25
  self.access_key = None
26
+ self.region = None
27
+ self.account_number = None
25
28
 
26
29
  # AWS specific
27
- self.account_number = boto3.client('sts').get_caller_identity().get('Account')
30
+
28
31
  self.analysis_types = {
29
32
  "KeyPhraseResults":"KeyPhrases",
30
33
  "SentimentResults":"Sentiment",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reflexive
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Supports AWS Reflexive Expressions Analysis
5
5
  Home-page: https://github.com/nlytx/reflexive
6
6
  Author: Andrew Gibson
@@ -8,13 +8,13 @@ reflexive/aws_connect/comprehend.py,sha256=eGbjf2Njy2KBTWd33GGrwFIk5e9GcKfUETBr_
8
8
  reflexive/aws_connect/s3.py,sha256=l20haGTMmUPe_HjSi9jVu5oeyNC8VcVTD7X-CvDq1-o,3517
9
9
  reflexive/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  reflexive/common/local.py,sha256=euhMmdRnL5c5d_Co2f2ehNP7Lv43T571tDCWQzpKaF4,1752
11
- reflexive/common/parameters.py,sha256=lc6oH1B3x7FwGbf9l0A0hJJ1vzg2m8Ggwm7aFIDeHvk,3216
11
+ reflexive/common/parameters.py,sha256=o0Yw3dvSdVvEC46Q1a_QK0mr7uDIb_SCmUYWUyspSM0,3305
12
12
  reflexive/common/util.py,sha256=OIfdQpkg3WLz0Ymm3OYlvOEE_ZGlI4KQHc8PYPb4vn8,3458
13
13
  reflexive/visual/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  reflexive/visual/display.py,sha256=XiRC3Asx9Ed3xCNCt3_DlbF45JcifNbXH_B44jxqqp0,3886
15
- reflexive-0.1.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
- reflexive-0.1.8.dist-info/LICENSE.txt,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
17
- reflexive-0.1.8.dist-info/METADATA,sha256=NvKo0yiJw0_TFDZI3sIBlSMy6WaohBFbTZN2EaYAHlQ,12037
18
- reflexive-0.1.8.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
19
- reflexive-0.1.8.dist-info/top_level.txt,sha256=pOMr-QGleRBRCFBozgvM-UUUmOjD_-naJfu1522E2V8,10
20
- reflexive-0.1.8.dist-info/RECORD,,
15
+ reflexive-0.1.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
+ reflexive-0.1.9.dist-info/LICENSE.txt,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
17
+ reflexive-0.1.9.dist-info/METADATA,sha256=2y2QHK_2H-b3jXDbsgfl07pPxtLjPtU_fyDkpRrv-98,12037
18
+ reflexive-0.1.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
19
+ reflexive-0.1.9.dist-info/top_level.txt,sha256=pOMr-QGleRBRCFBozgvM-UUUmOjD_-naJfu1522E2V8,10
20
+ reflexive-0.1.9.dist-info/RECORD,,