Cal. Gov't Code § 41802
The city attorney shall frame an ordinance or resolution required by the legislative body.