Matthew Martin β β π on Nostr: Okay, I'm ready to sell ad space in the type annotations of my open source code. ...
Okay, I'm ready to sell ad space in the type annotations of my open source code. #mypy
```python
from typing import TypeAlias
SquareSpaceChooseYourCanvas: TypeAlias = str
SquareSpaceSuccessStory: TypeAlias = str
def build_website(self, template: SquareSpaceChooseYourCanvas) -> SquareSpaceSuccessStory:
"""
Your Ad Here, call 1-800-doc-string
"""
print(f"Building a website with the template '{template}'.")
return "Wee!"
```
```python
from typing import TypeAlias
SquareSpaceChooseYourCanvas: TypeAlias = str
SquareSpaceSuccessStory: TypeAlias = str
def build_website(self, template: SquareSpaceChooseYourCanvas) -> SquareSpaceSuccessStory:
"""
Your Ad Here, call 1-800-doc-string
"""
print(f"Building a website with the template '{template}'.")
return "Wee!"
```