Whenever any action or proceeding, including a contested small claims action other than for attachment, garnishment, arrest and bail, claim and delivery, injunction, receivership, and deposit in court, to which any member of the Legislature is a party or in which any member of the Legislature is the attorney in charge for either party, comes on for trial or hearing during a session of the Legislature, the attendance of the party or attorney upon the session is cause for the postponement of the trial or hearing until after the conclusion of the session, provided the party or attorney serves notice, on the opposite party, of his intention to apply for the postponement at least fifteen days before the term or time at which the action or proceeding may be brought on for trial or hearing or as soon as notice of hearing is received if less than fifteen days prior to the date set for hearing.
SDCL 15-11-5