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
import asyncio | |
from sqlalchemy import MetaData, Table, Column, Float | |
from sqlalchemy.dialects.postgresql import UUID | |
from databases import Database | |
database = Database("postgresql://test@127.0.0.1/test") | |
metadata = MetaData() | |
activities = Table( |
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
import SwiftyJSON | |
let double: Double = 2.0 | |
let int: Int = 2 | |
let test: [String: Any?] = ["double": double, "int": int] | |
var json = JSON(test) | |
print(json.description) |