Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Make script more backwards compatible by removing f-strings #2

Description

@jkras

If using a python version < 3.6, f-strings don't work. The error message suggests a syntax error.

File "atlas-starter-2.py", line 54
  print(f"I inserted {inserted_count} documents.")
                                                  ^
SyntaxError: invalid syntax

Given our primary goal with this script, I'd suggest using a more widely used string formatting convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions