Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,19 @@ def build(self, resource_key, logger):
if cloud_endpoint:
pipeline_settings["cloud_endpoint"] = cloud_endpoint

GettingStartedWeb.pipeline = DeviceDetectionCloudPipelineBuilder(
**pipeline_settings).add_logger(logger).build()

builder = DeviceDetectionCloudPipelineBuilder(**pipeline_settings)

# The builder adds the browserderived engine, which this page leaves
# out. The browser tests count as done only once the page holds a
# sealed HumanConfidence, and the package never sends that to the
# page. With the browserderived engine, the client script would run
# them again and call the JSON endpoint on every page view.
builder.flow_elements = [
element for element in builder.flow_elements
if element.datakey != "browserderived"]

GettingStartedWeb.pipeline = builder.add_logger(logger).build()

return self

def run(self):
Expand Down
Loading