-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Templates] Update documentation + templates code #3450
Conversation
templates/external-import/src/external_import_connector/connector.py
Outdated
Show resolved
Hide resolved
templates/external-import/src/external_import_connector/connector.py
Outdated
Show resolved
Hide resolved
templates/internal-enrichment/src/internal_enrichment_connector/connector.py
Outdated
Show resolved
Hide resolved
templates/internal-enrichment/src/internal_enrichment_connector/connector.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestion but It looks good to me. Thank you for this update.
) | ||
last_run_datetime = datetime.fromtimestamp( | ||
current_timestamp, tz=timezone.utc | ||
).strftime("%Y-%m-%d %H:%M:%S") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
).strftime("%Y-%m-%d %H:%M:%S") | |
).isoformat() |
info_msg = ( | ||
"Sending " + str(len(bundles_sent)) + " stix bundle(s) for worker import" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
info_msg = ( | |
"Sending " + str(len(bundles_sent)) + " stix bundle(s) for worker import" | |
) | |
info_msg = ( | |
f"Sending {len(bundles_sent)} stix bundle(s) for worker import" | |
) |
Proposed changes
Related issues
Checklist
Further comments