What is the gradient of $\arctan(\frac{x}{y})$?

Calculating the derivative with respect to $ x$ is pretty trivial, but I don’t really know how you would calculate the derivative with respect to $ y$ .