Last active
September 27, 2019 09:52
-
-
Save TomerCohen95/615845d6d078dfb5e3885795a1d66f74 to your computer and use it in GitHub Desktop.
fifth and sixth layer
This file contains hidden or 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
def was_created_today(machine: vim.VirtualMachine) -> bool: | |
date = _get_date_from_name(machine.name) | |
# return some implemetation that checks if date is today | |
def _get_date_from_name(name: str) -> datetime.date: | |
# return some implementation that extracts date from name of machine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment