You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -21,7 +21,7 @@ We can start by writing the code for our 2 protocols.
Let's start by defining the protocol for querying availability of tables at the restaurant:
1. First of all, we need to navigate towards the protocols folder: `cd protocols`
2. Let's then create a Python script named, and name it by running: `touch query.py`
2. Let's then create a Python script and name it by running: `touch query.py`
3. In the text editor application, we proceed and define the `table querying protocol`.
4. We now need to import necessary classes and define the _message data models_. Then, create an instance of the `Protocol` class and name it `query_proto`: