Commit 73cf5e28 authored by Andrea Schuch's avatar Andrea Schuch

Merge branch 'sdk_0_2' into 'master'

Bump python SDK to 0.2

See merge request !151
parents b45444f9 2d77a27b
Pipeline #115361909 passed with stages
in 12 minutes and 55 seconds
......@@ -3,7 +3,7 @@ package agents
const DOCKERFILE = `
FROM python:3.7
ENV COGMENT_VERSION 0.2.1-beta
ENV COGMENT_VERSION 0.2
ENV PYTHONPATH /app
RUN pip install cogment==$COGMENT_VERSION
......
......@@ -10,7 +10,7 @@ class {{.|pascalify}}(Agent):
VERSIONS = {"{{.|snakeify}}": "1.0.0"}
actor_class = cog_settings.actor_classes.{{.|snakeify}}
def decide(self, observation: actor_class.observation_space):
def decide(self, observation: cog_settings.actor_classes.{{.|snakeify}}.observation_space):
print("{{.|pascalify}} decide")
action = {{.|pascalify}}Action()
return action
......
......@@ -3,7 +3,7 @@ package clients
const DOCKERFILE = `
FROM python:3.7
ENV COGMENT_VERSION 0.2.1-beta
ENV COGMENT_VERSION 0.2
ENV PYTHONPATH /app
RUN pip install cogment==$COGMENT_VERSION
......
......@@ -3,7 +3,7 @@ package envs
const DOCKERFILE = `
FROM python:3.7
ENV COGMENT_VERSION 0.2.1-beta
ENV COGMENT_VERSION 0.2
ENV PYTHONPATH /app
RUN pip install cogment==$COGMENT_VERSION
......
package orchestrator
const DOCKERFILE = `
FROM registry.gitlab.com/cogment/cogment/orchestrator:0.2.1-beta
FROM registry.gitlab.com/cogment/cogment/orchestrator:0.2
ADD cogment.yaml .
ADD *.proto .
......
0.2.3-beta
\ No newline at end of file
0.2
\ No newline at end of file
......@@ -88,8 +88,9 @@ class Environment(ABC):
def __init__(self, trial: Trial):
self.trial = trial
@abstractmethod
def start(self, config):
return self.trial.settings.environment.default_observation()
pass
def end(self):
pass
......
__version__ = "0.2.4-beta0"
__version__ = "0.2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment