Skip to content

Commit

Permalink
BUG: Fix broken link to resource keys page in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph51D committed Aug 13, 2021
1 parent 9950ef8 commit 5ab7c0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class OnPremiseMissingPropertyService(MissingPropertyService):

def check(self, key, flow_element):

raise Exception("Property " + key + " not found in data for element " + flow_element.datakey + ". This is because your resource key does not include access to this property. Properties that are included for this key under device are " + ', '.join(list(flow_element.get_properties().keys())) + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resourcekeys.html")
raise Exception("Property " + key + " not found in data for element " + flow_element.datakey + ". This is because your resource key does not include access to this property. Properties that are included for this key under device are " + ', '.join(list(flow_element.get_properties().keys())) + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html")

class CloudData(AspectDataDictionary):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def on_registration(self, pipeline):
# Add properties from the CloudRequestEngine which should already have them

if not self.datakey in pipeline.flow_elements_list["cloud"].flow_element_properties:
raise Exception("Your resource key does not include access to any properties under the engine with key" + self.datakey + " that was added to the pipeline. For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resourcekeys.html " + "Available engine data keys are: " + str([e for e in pipeline.flow_elements_list["cloud"].flow_element_properties]))
raise Exception("Your resource key does not include access to any properties under the engine with key " + self.datakey + " that was added to the pipeline. For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html " + "Available engine data keys are: " + str([e for e in pipeline.flow_elements_list["cloud"].flow_element_properties]))

self.properties = pipeline.flow_elements_list["cloud"].flow_element_properties[self.datakey]

Expand All @@ -92,7 +92,7 @@ def pipeline_element_not_found(self, element, flowdata):
"""

raise Exception("Your resource key does not include access to any properties under " + element + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resourcekeys.html " + "Available element data keys are: " + str([e for e in flowdata.pipeline.flow_elements_display_list]))
raise Exception("Your resource key does not include access to any properties under " + element + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html " + "Available element data keys are: " + str([e for e in flowdata.pipeline.flow_elements_display_list]))


def process_internal(self, flowdata):
Expand Down

0 comments on commit 5ab7c0a

Please sign in to comment.