508 karma · joined March 9, 2018
def get_user(user_id: str) -> User:
rows = users.find(user_id=user_id)
if not rows:
raise Exception("user not found")
return rows[0]
def rename_user(user_id: str, name: str) -> User:
user = get_user(user_id)
user.name = name
return user, NoneDidn't happen, they just said they'll use French during their council presidency (not the parliament, it's not even mentioned in your article), that's all, there are no rules against that. They would've done it regardless of Brexit.
The first iPhone was only available with a contract, they literally didn't go around the carriers, at least in the USA (AT&T) and Germany (T-Mobile).
Where is this "fact" coming from? Coal is being phased out. Numbers for last year increased slightly, but that was due to gas, not nuclear shutdowns. For this year coal usage is on track to being at 2020 levels, which was an outlier year.
Source: https://energy-charts.info/charts/energy/chart.htm?l=en&c=DE...
Did I misunderstand WEI? It's an API a website can use to confirm that a client is "authentic", so shouldn't this rather be "Goodle/Apple/Facebook/... drops support for Non-WEI compliant browsers".
[0]: https://energy-charts.info/charts/energy/chart.htm?l=en&c=DE...
[1]: https://energy-charts.info/charts/energy/chart.htm?l=en&c=DE...
[2]: https://energy-charts.info/charts/energy/chart.htm?l=en&c=DE...
Never seen that, I'm only aware of "logiciel" for software.