Fix: add dtype as connection variable

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>