California Penal Code § 1491
Text of § 1491
Any judge before whom a person who has been committed upon a criminal charge may be brought on a writ of habeas corpus, if the same is bailable, may take an undertaking of bail from such person as in other cases, and file the same in the proper court. Whenever a writ of habeas corpus is returned to a court for hearing and the petitioner is charged with an offense other than a crime of violence or committed with a deadly weapon or involving the forcible taking or destruction of the property of another, but the prisoner does not stand convicted of any offense, the amount of the bail must be set immediately if no bail has theretofore been fixed.
Cite this section
Cal. Penal Code § 1491
https://lawconsensus.com/codes/california/penal-code/1491/
LawCensus reproduces the text of the law for reference. It may not show the most recent changes. Check the official source before you rely on it: official text. This is general information, not legal advice.