Skip to content

Commit

Permalink
python(chore): remove validation flags from exampel
Browse files Browse the repository at this point in the history
  • Loading branch information
solidiquis committed Jun 26, 2024
1 parent d3ac470 commit 8e68695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions python/examples/ingestion_with_python_config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@

with use_sift_channel(sift_channel_config) as channel:
# Create ingestion service using the telemetry config we loaded in
ingestion_service = IngestionService(
channel,
telemetry_config,
overwrite_rules=True, # Overwrite any rules created in the Sift UI that isn't in the config
end_stream_on_error=True, # End stream if errors occur API-side.
)
ingestion_service = IngestionService(channel, telemetry_config)

# Create an optional run as part of this ingestion
current_ts = datetime.now(timezone.utc)
Expand Down
7 changes: 1 addition & 6 deletions python/examples/ingestion_with_yaml_config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@

with use_sift_channel(sift_channel_config) as channel:
# Create ingestion service using the telemetry config we loaded in
ingestion_service = IngestionService(
channel,
telemetry_config,
overwrite_rules=True, # Overwrite any rules created in the Sift UI that isn't in the config
end_stream_on_error=True, # End stream if errors occur API-side.
)
ingestion_service = IngestionService(channel, telemetry_config)

# Create an optional run as part of this ingestion
current_ts = datetime.now(timezone.utc)
Expand Down

0 comments on commit 8e68695

Please sign in to comment.