How the Russian Revolution of 1917 impact the formation of the Weimar Republic

How did the Russian Revolution of 1917 impact the formation of the Weimar Republic and the ways in which the government was run between 1918 and 1933?