Skip to content

Commit d705df9

Browse files
committed
fix lint and update docstring
1 parent 36225af commit d705df9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/forge/controller/actor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ def options(
8181
8282
# Pre-configure a single actor
8383
actor = await MyForgeActor.options(procs=1, hosts=1).as_actor(...)
84-
await actor.shutdown()
84+
await MyForgeActor.shutdown(actor)
8585
8686
# Default usage without calling options
8787
actor = await MyForgeActor.as_actor(...)
88-
await actor.shutdown()
88+
await MyForgeActor.shutdown(actor)
8989
"""
9090

9191
attrs = {

src/forge/controller/provisioner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import socket
1414
import uuid
1515

16-
from typing import Any, Optional
16+
from typing import Any
1717

1818
from monarch._src.actor.shape import NDSlice, Shape
1919
from monarch.actor import Actor, endpoint, HostMesh, ProcMesh, this_host

0 commit comments

Comments
 (0)