@@ -128,9 +128,9 @@ def gather_initial_conversation_metadata(self, mml: "Message"):
128128 "Implement a method that creates/gathers the conversation covnersation metadata"
129129 )
130130
131- def gather_fsm_state_overwrite (self , mml : "Message" ):
131+ def gather_fsm_state_override (self , mml : "Message" ):
132132 raise NotImplemented (
133- "Implement a method that gathers the fsm state overwrite "
133+ "Implement a method that gathers the fsm state override "
134134 )
135135
136136 def gather_conversation_id (self , mml : "Message" ):
@@ -152,14 +152,14 @@ async def authenticate(self):
152152 and not isinstance (self .scope ["user" ], AnonymousUser )
153153 )
154154
155- async def set_conversation (self , platform_conversation_id , initial_conversation_metadata , authentication_required , fsm_state_overwrite = None ):
155+ async def set_conversation (self , platform_conversation_id , initial_conversation_metadata , authentication_required , fsm_state_override = None ):
156156 self .conversation , created = await Conversation .objects .aget_or_create (
157157 platform_conversation_id = platform_conversation_id
158158 )
159159 if created :
160160 self .conversation .initial_conversation_metadata = initial_conversation_metadata
161161 self .conversation .authentication_required = authentication_required
162- self .conversation .fsm_state_overwrite = fsm_state_overwrite
162+ self .conversation .fsm_state_override = fsm_state_override
163163 await database_sync_to_async (self .conversation .save )()
164164
165165 def set_fsm_def (self , fsm_def ):
0 commit comments