Skip to content
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

Fix whitespace in attestation report message #9168

Open
wants to merge 1 commit into
base: tauquir/enclave-prototype
Choose a base branch
from
Open
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
11 changes: 4 additions & 7 deletions packages/syft/src/syft/service/project/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ def get_event_details(self) -> str:
def _coll_repr_(self) -> dict[str, str | dict]:
return {
"Created at": str(self.timestamp),
"Details": {
"type": "events",
"value": self.get_event_details()
}
"Details": {"type": "events", "value": self.get_event_details()},
}

def __repr_syft_nested__(self) -> tuple[str, str]:
Expand Down Expand Up @@ -787,10 +784,10 @@ def view_attestation_report(
else "NVIDIA H100 GPU"
)

mock_report_prefix = "🛑 Mock" if mock_report else ""
mock_report_prefix = "🛑 Mock " if mock_report else ""
print(
f"⏳ Retrieving {mock_report_prefix} attestation token from {machine_type}"
+ f"Enclave at {provider.route}...",
f"⏳ Retrieving {mock_report_prefix}attestation token from {machine_type}"
+ f" Enclave at {provider.route}...",
flush=True,
)
client = provider.get_guest_client()
Expand Down
Loading